Unix Technical Forum

SQL server driver problem

This is a discussion on SQL server driver problem within the MS SQL ODBC forums, part of the Microsoft SQL Server category; --> Hello everybody, I have stored procedure(vb6,sql server 2000(3))., that I call from VB using odbc drivers. This stored procedure ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > MS SQL ODBC

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 10:04 PM
=?Utf-8?B?RGlhbmEgTQ==?=
 
Posts: n/a
Default SQL server driver problem

Hello everybody,
I have stored procedure(vb6,sql server 2000(3))., that I call from VB using
odbc drivers.
This stored procedure has 10 queries and it runs without problem until 4th
query and then it exits without any reason and without errors. I do not see
any erros in sql server profiler either. VB does not give any errors either.
SP does not have output parameters and no return parameter explicitly
defined in VB.
Now if I change definition of the stored procedure (still using ODBC driver)
if I add return parameter OR if I add output parameter (to the sp and to vb),
the stored procedure will be executed until end
Also if I change ODBC driver to OLEDB driver, the sp will be executed until
end in any case (without any output or return parameter defined)
Can somebody explain this behaviour please
Thanks
Diana M


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:46 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com