Hi,
How to define and declare array variable in store procedure.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
AartiPosted Nov 17, 2011, 8:24 AM
Please refer below link. i hope it will help you.
http://weblogs.sqlteam.com/jeffs/archive/2007/06/26/passing-an-array-or-table-parameter-to-a-stored-procedure.aspx
Thanks.
Posted May 20, 2011, 12:07 PM
There is no array datatype in sql server and as a work around you can use temp table or table level variable to store list of records.
Suthish NairPosted May 20, 2011, 11:27 AM