Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Union order
Message
From
29/08/2008 15:43:39
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Environment versions
SQL Server:
SQL Server 2000
Miscellaneous
Thread ID:
01343299
Message ID:
01343334
Views:
17
I'm not following? Wait a minute... I think I see... I'm going to try that, hold the phone.

>Yes, something like that. You may have to specify ORDER BY by column # if SQL Server complains. You can also get rid of that additional column using current query as derived table
>
>SELECT Empid, EmpName, OverTime, DoubleTime, TotalHours1 FROM (
> -- your select here
> -- Order by column position instead of names
> ORDER BY 1,6
>) dt1
>
snip...
>>snip...
Thanks
Jon
Non-MVP Non-MCP Non-MCSE

Visual FoxPro, What else is there?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform