Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using an array in a stored procedure
Message
De
26/01/2003 09:20:22
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Titre:
Using an array in a stored procedure
Divers
Thread ID:
00745528
Message ID:
00745528
Vues:
50
I need to create a variable in a stored procedure that will be used in a temporary table within that procedure (see example below). Does anyone know how I can select several variables within the query?


CREATE PROCEDURE sols_details @supp varchar(255),@tdEndDate DATETIME

SELECT * INTO #supp
FROM suppliers
WHERE supp_code IN ('??','??')

SELECT * FROM #SUPP etc
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform