Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > Sybase > Passing wide char data to ct_command

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-19-07, 09:38
rajdeep.mm rajdeep.mm is offline
Registered User
 
Join Date: Nov 2007
Posts: 6
Cool Passing wide char data to ct_command

hi all,
can anyone provide me any help on how i can pass wide char (2 byte unicode) data to ct_command(). Provide sample code if possible

thanks in advance
rajdeep
Reply With Quote
  #2 (permalink)  
Old 11-23-07, 07:03
rajdeep.mm rajdeep.mm is offline
Registered User
 
Join Date: Nov 2007
Posts: 6
hi all,
can anyone provide me any help on how i can pass wide char (2 byte unicode) data to ct_command(). Provide sample code if possible

suppose i want to send the following query

select * from mydata where name = ''∫√∑∏∆ƒΦμ'

thanks in advance
rajdeep
Reply With Quote
  #3 (permalink)  
Old 11-26-07, 19:19
trvishi trvishi is offline
Registered User
 
Join Date: Sep 2003
Location: Switzerland
Posts: 371
I see noone is answering your questions. All I can say it is a lost art in a way and its better you start reading up the manuls OR try to understand logic from the existing code if you have one. Sorry, wish I could help more.

Last edited by trvishi : 11-26-07 at 19:35.
Reply With Quote
  #4 (permalink)  
Old 11-27-07, 00:04
rajdeep.mm rajdeep.mm is offline
Registered User
 
Join Date: Nov 2007
Posts: 6
passing wide char strings to ct_command()

hi trvishi,
thnx 4 the reply. i do have the code which works for non unicode data. i just want to know if there is some way in which a wide char (2 byte) unicode string can be passed to the ct_command() method. Specially for create statements.
the select queries work fine. the data (unicode or non unicode) is returned properly in 2 bytes. the actual problem is with sending 2 byte data to the server through the ct_command() method
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

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