
August 11th, 2003, 12:12 PM
|
|
Registered User
|
|
Join Date: Aug 2003
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Stored procedure returns unpredictable results through OLEDB
Can anybody suggest a reason why a stored procedure would behave differently depending on whether it was executed from Query Analyzer, or from an ASP page via OLEDB?
Identical parameters are used in each case.
Through Query Analyzer the stored procedure returns accurate and complete results every time.
When called from the asp page the stored procedure returns an incomplete number of records, and the number of records returned varies each time you refresh the page.
No error message is displayed in the browser ( so a user would be unaware anything had gone wrong).
I have not used On Error Resume Next.
If anybody can help me I would be most grateful
thanks
|