Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using an array in a stored procedure
Message
 
 
To
26/01/2003 09:20:22
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Miscellaneous
Thread ID:
00745528
Message ID:
00745550
Views:
22
In SQL 2000 you can use XML. See Re: Selecting records based on cursor values Message #690890 for sample code..

>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
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform