Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Escaping reserved words
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01529929
Message ID:
01529930
Vues:
66
This message has been marked as a message which has helped to the initial question of the thread.
>Hi everybody,
>
>I have a field in SQL Server database named Row. In VFP I want to make an index on this field with the same tag name. I am wondering if I need to somehow escape that reserved word and if so, what should be the exact syntax I need to use in INDEX ON command and SET ORDER command?
>
>Thanks in advance.

I think there should be no problems with it:
CREATE CURSOR Test (Row I)
INDEX ON Row TAG Row

SET ORDER TO Row
BROW
Not a good name for a field though :-)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform