Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stored procedures, spt performance
Message
De
30/03/2004 11:27:40
 
 
À
30/03/2004 04:39:38
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Divers
Thread ID:
00890689
Message ID:
00890844
Vues:
21
>Hi
>
>can anybody tell me if there are any major performance benefits to use spt or stored procedures , adodb ?
>
>TIA

For simple, one-line selects or updates, no. However, stored procs are compiled and generally will run faster. My cardinal rule is every trip to the server costs performance, so if you can batch them up into a stored proc, you will be better off.

Also, your SQL box typically has a lot more horsepower than an individual workstation. You can take advantage of this with stored procs.
Dan LeClair
www.cyberwombat.com
SET RANT ON - The Wombat Blog

Life isn’t a morality contest and purity makes a poor shield. - J. Peter Mulhern
Disclaimer: The comments made here are only my OPINIONS on various aspects of VFP, SQL Server, VS.NET, systems development, or life in general, and my OPINIONS should not be construed to be the authoritative word on any subject. No warranties or degrees of veracity are expressed or implied. Void where prohibited. Side effects may included dizziness, spontaneous combustion, or unexplainable cravings for dark beer. Wash with like colors only, serve immediately for best flavor.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform