How to insert bulk data into a SQL Server Table from a CSV file:
BULK
INSERT TugLookup
FROM 'c:\temp\tuglookup.csv'
WITH
(
FIELDTERMINATOR = ';',
ROWTERMINATOR = '\n'
)
GO
--Check the content of the table.
SELECT *
FROM TugLookup
GO
Ingen kommentarer:
Send en kommentar