Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sorting field names alphabetically
Message
 
 
À
16/03/2005 12:00:03
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Maintenance bases de données
Divers
Thread ID:
00996402
Message ID:
00996417
Vues:
14
>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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform