B
bullpit
Hi all,
I am trying to perform a bulk insert into an Excel file. I have a csv file
with data that I want to insert into an existing Excel file (a blank
template). The template has some rows in the beginning that I want to skip
and then start writing into it.
I came across this:
BULK INSERT OrdersBulk
FROM 'c:\file.csv'
WITH
(
FIRSTROW = 2,
FIELDTERMINATOR = ',',
ROWTERMINATOR = '\n'
)
This SQL skips the first row in the CSV file and starts reading from the
second row.
Can I have similar functionality while writing into an excel file to skip
initial rows and then start writing?
Please help...
I am trying to perform a bulk insert into an Excel file. I have a csv file
with data that I want to insert into an existing Excel file (a blank
template). The template has some rows in the beginning that I want to skip
and then start writing into it.
I came across this:
BULK INSERT OrdersBulk
FROM 'c:\file.csv'
WITH
(
FIRSTROW = 2,
FIELDTERMINATOR = ',',
ROWTERMINATOR = '\n'
)
This SQL skips the first row in the CSV file and starts reading from the
second row.
Can I have similar functionality while writing into an excel file to skip
initial rows and then start writing?
Please help...