Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL to order data like this
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00437578
Message ID:
00437630
Views:
16
>TABLE Fields and attributes: Code (C 3), Desc (C 50), Order (C 4), PKfld (I)

Bob,

In addition to what the other reply ahs told you I stringly suggest that you change the names of those field, DESC and ORDER are reserved words and will cause you problems, for eaxmple imagine this query;

SELECT Order, DESC from tablename ORDER BY ORDER, DESC DESC ...

Note the problem?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform