|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
hi Experts,
i have a problem in executing a sp through Query Analyser and ASP command object. The execution time of sp in Query Analyser is taking 2 sec and the same exec statement is getting time out through ADO command object in ASP. exec USP_ENQUIRY_SEARCH @ENROLMENT_NO='BLR',@GROUP_NAME='IGATE' and all remaining queries r working fine and execution time between Query Analyser and ASP also same.so there will not be a problem of Networking stuff. Iam recompiled the sp so many times and i rebuiled the indexes that iam using in the query also and i updated the statistics also..but the same problem is repeating.. what will be the problem?can any one guide me. ![]() |
|
#2
|
||||
|
||||
|
How are you connecting to the database in the ASP app? Is this an ADO connection or an ODBC connection you're making? Also, is it possible that your ASP app is running some previous query that has the tables locked?
__________________
Up the Irons What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home. "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest Down with Sharon Osbourne Puzzle of the Month solved by sizeablegrin, etienne141 and L7Sqr, superior C/C++ programmers of the month |
![]() |
| Viewing: Dev Shed Forums > Databases > MS SQL Development > Urgent Exec. time of SP btw Query Analyser and ASP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|