Technical Article

Pass an Array into a Stored Procedure

Have you ever wished T-SQL allowed you to pass an array into a stored procedure? Well the spListToTable stored procedure listed below accepts a delimeted string and turns it into a table. Code your stored procedure to accept a varchar, create a temporary table, call spListToTable, and use the populated temporary table as if it […]

4.25 (4)

2001-12-10

2,838 reads

Blogs

Daily Coping 21 Oct 2021

By

I started to add a daily coping tip to the SQLServerCentral newsletter and to...

#PowershellBasics: Get a list of files from a directory.

By

I’ve got a project I’m working on at the moment and it includes a...

Join me next week at my first GroupBy session

By

2021 has been the year people want to learn about Temporal Tables, it seems....

Read the latest Blogs

Forums

Managed Instance, cross-database queries. What are the hidden requirements?

By ja_iris

Have a managed instance with 2 databases. In theory I should be able to...

Need the (default) port to connect - why is this not implicit.

By snomadj

So I have 2 instances (1 x 12, 1 x 19). Both have the...

Extract data from XML field

By SqlRookie

Hello, I have a SQL view with a column called GlobalCountryRegionXML. Here is an...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers