Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sorting field names alphabetically
Message
De
16/03/2005 12:53:39
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Maintenance bases de données
Divers
Thread ID:
00996402
Message ID:
00996433
Vues:
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
>
You never cease to amaze me.
It worked great

Thanks
Jim
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform