Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Connecting to a SQL Server Database From VFP
Message
De
18/10/2000 04:10:25
 
 
À
17/10/2000 19:04:07
Christopher Pinnock
United General Insurance Company
Kingston, Jamaique
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Import/Export
Divers
Thread ID:
00429698
Message ID:
00430772
Vues:
14
>Thanks a mil. I'll check it out pronto.
>
>By the way do you know how i can include strings which contains an apostrophe ???
>
> eg. Christopher's Egg. The apostrophe would normally give an error. I wrote a routine to remove them automatically when typed in the text box. The ideal situation would be to include those apostrophe.

Do you mean something like this:

«
When QUOTED_IDENTIFIER is OFF, SQL Server follows these rules for the use of double and single quotation marks:

Quotation marks cannot be used to delimit identifiers. Instead, use brackets as delimiters.
Either single or double quotation marks can be used to enclose character strings.
If double quotation marks are used, embedded single quotation marks do not have to be denoted by two single quotation marks:

SELECT * FROM [My Table]

WHERE [Last Name] = "O'Brien"

»

I took this from Books OnLine
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform