Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Order By Clause in SELECT Query
Message
From
08/09/2006 15:27:49
 
 
To
08/09/2006 15:17:55
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01152447
Message ID:
01152450
Views:
15
This message has been marked as a message which has helped to the initial question of the thread.
Hi Tracy,

AFAIK ORDER BY does not support expressions, but field numbers are supported, so maybe put it:
SELECT PADL(Alltrim(number),8,'0') as cNumber, * .... ORDER BY ...,1

Bye, Olaf.
Previous
Reply
Map
View

Click here to load this message in the networking platform