Click here to Skip to main content
15,914,594 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello,

I am creating c#.net windows application for run script for sql server database created, it's running very slow, It's a lots of data in my database.

I want to improve performance during database create.

How could that possible?

Thank You.

Ankit Agarwal
Software Engineer
Posted

There are lots of reasons why that is happening.

1. Check you database schema: data types, indexing, constraints etc.
2. Check your queries, stored procedures etc.
3. Check the hardware and the way SQL server is set up.
 
Share this answer
 
v2
You can see the possible reasons of your problem in Solution 1.
If you are using scripts, then don't. Use Stored Procedures, they are faster than queries. The reason is here here[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900