Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing & \ ? from a parsed text file to SQL Server
Message
De
24/01/2005 20:27:42
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
00979484
Message ID:
00980249
Vues:
48
>That did it! Thanks Sergey. I would never have tried that. It's too simple.

Generally, I've found it a good practice to have one class which will handle all the requests to be sent to SQL server. So doubling the apostrophe happens only once, in one location.

One more thing - SET QUOTED_IDENTIFIER ON should really stay on, i.e. the apostrophe is the only string delimiter; quotation marks, [ and ] should remain a part of the syntax for server-side names. I've seen quite a mess when it was OFF, and then we had to double the quotation marks too, which seemed to work too well: I've seen as much as eight quotation marks surrounding a string...

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform