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
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment