Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Square brackets
Message
De
26/04/2001 11:06:54
 
 
À
26/04/2001 11:03:29
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00500093
Message ID:
00500131
Vues:
23
>cSQLPassThrough = [SELECT * FROM MyTable ] + ;
> [WHERE MyField = "Adam's Apple" ]
>
>Try doing that one with quotes. It gets ugly.

Well, since you ask! :) (Assuming the backend is SQLServer)
cSQLPassThrough = "SELECT * FROM MyTable " + ;
    "WHERE MyField = 'Adam''s Apple'"
I agree that using brackets is a better idea, though! :)
Sylvain Demers
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform