Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Same command acts differently between SQL Client and SSM
Message
 
 
À
24/11/2014 12:14:17
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Versions des environnements
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01611367
Message ID:
01611372
Vues:
38
>>Yes. You cannot expect any order to the data unless you use an ORDER BY clause
>
>Yes, correct, but it is interesting to know that one data provider will differ, in regards to that, from another. I guess SSMS has its own ways of retrieving data which is different than the SQL Client provider used from an ASP.NET application.

Even in SSMS you can not predict the order without ORDER BY clause. If you need specific order, you must use ORDER BY, there is no way around it.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform