Code Snippets
Monday, June 30, 2008
SQL: Insert CSV into Table
BULK INSERT OrdersBulk
FROM 'c:\file.csv'
WITH
(
FIRSTROW = 2
,
FIELDTERMINATOR = ',',
ROWTERMINATOR = '\n'
)
stole it from here
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)