I am new to the database, I am using ssms 2008r2 to import 2GB data from CSV file.
It is taking around 115mins to import.
It has 9-columns without any constraint, no indexes, no trigger. It's a simple table.
Code:
BULK INSERT MyTempfile
FROM 'C:\CSVData\cvfile.csv'
WITH
(
FIRSTROW = 2,
FIELDTERMINATOR = ',', --CSV field delimiter
ROWTERMINATOR = '\n', --Use to shift the control to next row
TABLOCK
)
Is there a better way to reduce the time for this import?