Hi Expert,
For My Winform application, I have Used sql server 2005 as Backend.
There are more than 9 lacs entries in a
Companyinfo table.and Around 10 lacs data in
emailinfo table which is secondory Table.
Currently i am inserting 50 rows using stored procedure,
This sp is very complex,in which i am checking duplicate entries,updating status,category,date,user etc of duplicate entries.
Currently there are 10 users.
from last 15 days, this sp working slow,and showing
timeout expired the timeout period elapsed
error usually.
I have traced sp using sql profiler,it shows
CPU : 4094
,
reads 236310 writes 40
i set server transaction timeout=40
My other heavy stored procedure for same databse working fine,from which i am inserting 1000 rows within seconds.
Please Help me to sort this problem.
Thanks in advance
And sorry for poor english.