ODBC return incorrect value

ODBC return incorrect value

Post by Narayana Vyas Kondredd » Thu, 07 Feb 2002 04:28:21



vleung2, looks like a problem with the way you are handling the return
values in your ODBC application. Btw, Query Analyzer is connecting to SQL
Server using ODBC too.
--
HTH,
Vyas, MVP (SQL Server)
http://vyaskn.tripod.com/


Hi all,

has anybody experience ODBC returning a zero in the stored procedure
when it return a number in Query analyzer. and a null string when it is
a string in Query analyzer?

and how to solve it

thanks

andrew

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

 
 
 

1. ODBC returns incorrect value in stored procedure

Hi all,
has anybody experience stored procedure returning a value say 2 in Query
analyzer but when pass through ODBC returns a 0. When returning a string
value, ODBC returns a null.

Please shed some light on this.

thanks
andrew

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

2. Internet Information Server????

3. ODBC call stored procedure returns incorrect value

4. BTrieve NLM and TCP/IP client?

5. Combobox returning incorrect selectedItem value

6. DataEnvironment Command SQL

7. Problem: Fox Returns incorrect record values.

8. OnBAR error code #159....

9. @@IDENTITY returning incorrect value

10. addjob returns incorrect values????

11. Shape command child recordset returns incorrect values.

12. OLE DB provider MSDASQL returned an incorrect value for DBPROP_CONCATNULLBEHAVIOR

13. ADO returning incorrect values