Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Executing Stored Procs With Params
Message
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Divers
Thread ID:
00979533
Message ID:
00979701
Vues:
20
Kevin,

Here's a very simple stored proc to return the entire customer record for a customer PK...
CREATE PROCEDURE GetCustomerByPK (@nCustomerPK int)
 AS

	SELECT * FROM Customer WHERE CustomerPK = @nCustomerPK
GO
You may want to check BOL (books online) for more details on creating SPs.

Kevin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform