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 > Data Access, Manipulation & Batch Languages > Delphi, C etc > Urgent! sqlExecDirectW

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-30-04, 02:08
eguven eguven is offline
Registered User
 
Join Date: Jan 2004
Posts: 8
Unhappy Urgent! sqlExecDirectW

Hi everybody,

I changed a char type field to nchar in Sql Server and I guess I have to use SqlExecDirectW instead of SqlExecDirect in order to save national characters. But SqlExecDirectW function generates following error

[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near '?'.

This sql string works with SqlExecDirect without a problem.

I'm using VB6.
Are there anybody who have used SqlExecDirectW before?
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