Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Thursday, April 25, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 External Development Forums - SalesLogix OLEDB Provider
Forum to discuss using the SalesLogix OLE DB Provider from external applications (including usage of built-in provider procedures). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix OLEDB Provider | New ThreadView:  Search:  
 Author  Thread: Failed to parse SQL when passing unicode in queries
sh_scribe
Posts: 1
 
Failed to parse SQL when passing unicode in queriesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Apr 14 2:03 PM

Hi, 


Hopefully this is the right sub forum for this. we have a product that reads/writes to SalesLogix via the SLXOLEDB provider. We are trying to add unicode support, but running into problems. Putting a literal unicode string into a SQL string, you usually add a N into the text. When I pass that through to the provider, I get an error back that says 'Failed to parse SQL'. Code looks vaugly like this (pseudo code, if you will)


This passes, but returns no records:


 


SELECT * FROM ACCOUNT WHERE NAME ='unicodecharactershere'

This fails with the above exception:


SELECT * FROM ACCOUNT WHERE NAME = N'unicodecharactershere'

 


i have also tried a parameterized query. But that was the same result. Anyone have thoughts or am i sol?


thanks. 


 

[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 4/25/2024 5:30:55 PM