Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Escaping reserved words
Message
De
28/11/2011 17:36:16
 
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:
01529938
Vues:
36
>>>>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 :-)
>>
>>Thanks! The column name represent a row of seats and I guess we didn't think of a better name.
>
>SeatsRow? :-)
Hi,
cRow or nRow or iRow depending on its type

would do

Koen
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform