Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TOP 1 vs TOP 1 PERCENT
Message
De
03/03/2012 22:05:22
Bill Fitzgerald (En ligne)
Woodbury Systems Group
Hamilton, New Jersey, États-Unis
 
 
À
03/03/2012 16:25:03
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2008
Divers
Thread ID:
01537165
Message ID:
01537177
Vues:
42
>>Not really an answer to your question, but, I have always used where 1=2 to do this. No data is returned but you still get an empty cursor with all the structure. Seems like I read somewhere that database engines optimize where 1=2 so it should be very fast.


Awesome tip- it really flies now!

Thanks a lot, James.
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform