This is a discussion on ODBC problem within the MS SQL ODBC forums, part of the Microsoft SQL Server category; --> Hello everybody, I have stored procedure that calls number of other stored procedures. If I run stored procedure from ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello everybody, I have stored procedure that calls number of other stored procedures. If I run stored procedure from query analyzer it never fails. However it fails from VB. And to be more specific, it does not fail, it stops at certain point and exits I have stored procedure SP1 and it calls SP2, SP3, SP4, SP5, SP6, SP7 It goes to SP6 up to the curtain point and without error leaves and it does not go at all to SP7 and leaves sp SP1 immediately. It leaves SP6 every time in the same place, however if I add waitfor (delay) somewhere on the top, it would leave stored procedure earlier VB6.0 use ODBC connection to SQL server(MDAC2.5), I do not have adodb command or connection timeout, both values =0 The same stored procedure never fails (with the same data) when running from query analyzer I can assure you that it is not permission problem, it is not query problem, because with added delay, it would leave stored procedure earlier I mean without delay it leaves stored procedure after 8th query, with delay it can leave stored procedure after 6th query (for instance). Also VB does not report any errors. It reference mdac2.5, also I tried to reference 2.7 with service pack 1 without any luck Any suggestions would be appreciated thanks, Diana M |
| Thread Tools | |
| Display Modes | |
|
|