Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Odd behavior in select's order by
Message
From
20/03/2000 15:17:18
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Odd behavior in select's order by
Miscellaneous
Thread ID:
00348064
Message ID:
00348064
Views:
42
We are still trying to optimise a huge data export. we need to sort the data before exporting, by two fields:
logdate (date) docno (char(4))
This works, but due to docno being char, not quite right:
select * from docinfo into cursor working ;
order by logdate ASC, docno ASC

Trying
order by logdate, VAL(docno)
returns SQL: colum logdate is not found

for fun (or is it frustration) we tried just VAL(docno) and got:
column not found.

Both fields are indexes.
Next
Reply
Map
View

Click here to load this message in the networking platform