Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to handle many similar SPROCS
Message
De
09/01/2008 02:43:06
 
 
À
08/01/2008 09:45:34
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Versions des environnements
Environment:
VB 8.0
Database:
MS SQL Server
Divers
Thread ID:
01280182
Message ID:
01280473
Vues:
20
Hey, Mike,

What I've done, and what I believe others have done frome time to time, is generate their stored procs.

So if you have many stored procs that follow the same pattern...

GetAllCostCenters
GetCostCenterByPK
GetCostCenterBy
GetActiveCostCenters

GetAllCustomers
GetCutomersByPK
GetCutomersBy
GetActiveCustomers

etc., etc.

You can generate them from either a script, or even from a .NET app.

As far as having fewer stored procs with many parms....you know what...I really thing it's the old "six, and one half dozen the other"

My two cents...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform