I have 40 CSV files to import on one table, while importing it always creates a new table against each CSV. I am stuck on what to do and is any query for it to import all data from CSV and dump it in one table.
I try below query as well
BULK INSERT dbo.OBD_dataset4
FROM 'C:\Users\abc\Downloads\OBD_data\OBD_data\OBD_dataset5.csv'
WITH
(
FIRSTROW = 2,
FIELDTERMINATOR = ';',
ROWTERMINATOR = ' ',
TABLOCK,
CODEPAGE = 'ACP'
);
I am using SQL Server Management Studio V17.**