Load data from text file with variable columns

This script loads from a formatted text file (E.g. tab delimited) with variable number of columns using BULK INSERT. For instance, the file may have any number of columns and next load (seconds later) the same file may have a different number of columns. This script reads the first line (column names) extracting the names […]

2005-03-01 (first published: )

939 reads

Blogs

Event Log File Paths

By

How does one consistently find the correct path to the Extended Event Log file...

Clearing an Email from the Microsoft Directory

By

Years ago I was working on a demo with Microsoft and someone added me...

Learning Containers

By

I find that I’m using containers more and more to get things done with...

Read the latest Blogs

Forums

The Change Failure Rate

By Steve Jones - SSC Editor

Comments posted to this topic are about the item The Change Failure Rate

DBA Walkthrough – Adding space on IBM AIX Power Machines

By SOLVARIA

Comments posted to this topic are about the item DBA Walkthrough – Adding space...

The Datatimeoffset Value

By Steve Jones - SSC Editor

Comments posted to this topic are about the item The Datatimeoffset Value

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers