Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sorting field names alphabetically
Message
 
 
To
16/03/2005 12:00:03
General information
Forum:
Microsoft SQL Server
Category:
Database management
Miscellaneous
Thread ID:
00996402
Message ID:
00996417
Views:
15
>I would like to either have SQL server show me the names of the table fields in alphabetical order or allow me to copy them to a text editor to sort them.
>How would I do this?
>

Jim,

You can try to ask it nicely, like this
SELECT * FROM pubs.INFORMATION_SCHEMA.COLUMNS
	WHERE table_name = 'authors'
	ORDER BY column_name
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform