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:
01529935
Views:
45
>>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.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform