Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Apostrophe...
Message
 
 
To
17/06/2002 21:43:11
Peter Wagner
Point Informática Ltda.
Limeira, Brazil
General information
Forum:
Microsoft SQL Server
Category:
Other
Title:
Miscellaneous
Thread ID:
00669537
Message ID:
00669556
Views:
15
>Im having problems with something I never got before.
>Im building the statement to send values do SQLServer,
>but I got an erro when the values ( parameters" to be send
>has an apostrophe in it's name like "Jim's", "Sandy's" or "D'Agua".
>
>I could use STRTRAN() to get rid of the apostrophe, but
>so the name would change, and that it's not a solution for the problem.
>
>Question: Is there a way to solve this problem ??
>
>Thanks in advance
>
>Peter

You've to double single quote inside string literal.
CHRTRAN([Jim's], ['], [''])
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform