Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Apostrophe...
Message
 
 
À
17/06/2002 21:43:11
Peter Wagner
Point Informática Ltda.
Limeira, Brésil
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Titre:
Divers
Thread ID:
00669537
Message ID:
00669556
Vues:
14
>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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform