Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
View with union and order by returns error
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00872222
Message ID:
00872690
Vues:
16
View definitions cannot have an ORDER BY clause, nor are they needed. You should order your result set when you're selecting from the view, e.g.:

select * from myView order by col1, col2

HTH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform