Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert && into a remote view to SQL
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00928083
Message ID:
00929890
Vues:
11
Jim,

VFP treats double ampersand && in a string literal as a beginning of inline comment. For example,
? 'I 240 && Walnut Groove'
The easiest way, as Aleksey suggested, is split literal so each part has only one '&'.
? 'I 240 &' + '& Walnut Groove'
>I am trying to insert a string into a SQL table through a remote view. The string looks similar to this:
>
>insert into mytable (street) values ('I 240 && Walnut Groove')
>
>
>I am assuming that VFP considers the && as a Comment line. Is there a way to work around this and pass the string?
>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform