Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How Can I Create an Array in a Stored Procedure

Status
Not open for further replies.

rr3news

Programmer
Apr 15, 2003
15
0
0
BR
May I an Array variable in a Stored Procedure ?
If is possible, my i create a stored procedure tha returns an Array?

I Use SQL Server 2000.
Thank
 
SQL Server doesn't support arrays. You have to use a temp table or table variable. temp tables and table variables can not be used in input or output paramaters in a stored procedure.

Denny
MCSA (2003) / MCDBA (SQL 2000) / MCTS (SQL 2005) / MCITP Database Administrator (SQL 2005)

--Anything is possible. All it takes is a little research. (Me)
[noevil]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top