cross apply

Parse Data from a Field Containing Multiple Values using CROSS APPLY

  • Article

It is possible for a field in a character-delimited text file to contain a list of further-delimited values instead of the customary single value. This article demonstrates how to load such a file into a staging table, then use a CROSS APPLY query to parse the list of values into a related table.

3.27 (15)

2019-06-07 (first published: )

6,294 reads

Blogs

What is a container anyway?

By

Recently there was a thread on Twitter which established that a lot of IT...

Comparing Execution Plans

By

When you run a query twice, and get dramatically different run times, your first...

What permissions do temp stored procedures use?

By

In a performance tuning class I recently took with Brent Ozar (b/t) he mentioned...

Read the latest Blogs

Forums

Statistics Profile Results

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Statistics Profile Results

Optimize a stored procedure

By keneangbu

I have a stored procedure that is called multiple times to get all the...

Status Update 19 Jun 2019

By Steve Jones - SSC Editor

My apologies. I have completely slacked off here, but since the 17th of May,...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers