Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stored procedures vs. functions
Message
 
À
08/07/2008 08:21:29
John Baird
Coatesville, Pennsylvanie, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 2.0
OS:
Windows 2000
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01329296
Message ID:
01329777
Vues:
11
>
>
>I think that the advice to use funcitons over stored procs is a bit off the mark. Could you post the reasons why that statement is made?

I have no idea why they might say that, but that won't keep me from speculating ;-) The one benefit of it being in a function is that you can then use the results in another cursor (w/o doing things like creating a temporary table and/or cursor and inserting the results from the stored proc into it). I couldn't imagine this being the default method, though. Other than that, who knows...
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform