Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Distinct sql command
Message
 
To
03/07/2007 12:22:55
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01237512
Message ID:
01237520
Views:
20
>the command
>
>sele gtype distinct from vwxltbl into cursor vwxltblD
>
>sorts the field gtype, i wanted it to retain the original order, is that possible?

No with SQL commands, there is NO guarantee how the cursor will be ordered unless you explicitly add ORDER BY clause.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform