|
-
June 29th, 2006, 09:31 AM
#1
SQL Server SP
I have a stored procedure with parameters in SQL Server 2000 database. When I execute it in Enterprise Manager, it takes less than 1 second to return rows.
When I use it in VB 6 code to populate ADODB.Recordset, it takes more than 30 seconds on this particular line:
Set rsOrders = cndTemp.Execute
I'm wondering why is it like that, and how can I make it work with the same
or at least similar speed in VB?
Thank you
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|