If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > SQL ODBC Quote Issue - HELP!!!!

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-03-04, 18:32
jgib jgib is offline
Registered User
 
Join Date: Dec 2004
Posts: 1
Angry SQL ODBC Quote Issue - HELP!!!!

major issues in a data conversion project - any help is much appreciated...

VB.net app - connection via DSN Client Access ODBC Driver to i-series.

when I execute select SQL statement via app, no WHERE clause, or WHERE clause on numeric field statement executes fine.

however, WHERE field = 'value' for a char field, error returned is 42s22. it appears to ID 'value' as a field name in the same table rather than an actual value...

the messed up thing here is that yesterday this worked fine???

the ODBC trace tool on the server side sees these single quotes which leads me to believe its not a format conversion (CCSID - whatever the thats all about) issue.

thanks very much
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On