Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Escaping reserved words
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01529929
Message ID:
01529930
Views:
67
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform