Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Server Select Processing order?
Message
De
06/03/2015 10:46:57
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2014
Application:
Web
Divers
Thread ID:
01616334
Message ID:
01616335
Vues:
38
>Hi,
>
>When you create a SQL Select can you specify the order in which the records are processed? (not the order of the resulting query).
>
>For example, say I have this table
>
>Date                Item         Quantity
>02-02-2014     ABC         5
>03-14-2014     ABC         1
>08-07-2013     ABC         24
>01-12-2012     ABC         0
>
>
>When I do SELECT * FROM ThisTable [some other conditions] I would like the records to be processed in the Date chronological order.
>
>Is it possible?
>
>TIA

can't you just order by Date ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform