November 24, 2008 03:24 PM

Handling Arrays

Using arrays as input for stored procedures
Rating: (0)
SQL Server Magazine
InstantDoc ID #100453
Executive Summary: One way to use arrays as input for stored procedures in Microsoft SQL Server is to employ dynamic SQL.
Stored procedures don’t support arrays as inputs, but there’s a common need to develop procedures that accept an unknown number of input parameters. For example, suppose you need to create a procedure in the Northwind database that accepts an unknown number of ...

...This article is for paid Professional Members only.

Already a Professional Member? Please log in now:

NOT A PROFESSIONAL MEMBER? YOU CHOOSE:

Professional Membership

Monthly

Annual

VIP Membership

Monthly

Annual

Add a Comment

What about using XML? It's a very clean way of handling array-type data in SQL Server. I've posted a blog article about using XML for this purpose on my company web site at http://techknowsolve.com/blog/?p=13.

Mary Delamater
TechKnowSolve
Portland, Oregon
http://www.techknowsolve.com

ELISABETH1/26/2009 2:51:35 PM


You must log on before posting a comment.

Are you a new visitor? Register Here
GOOGLE LINKS
SPONSORED LINKS
FEATURED LINKS