Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
abhijeetdighe
Starting Member
24 Posts |
Posted - 2007-10-07 : 04:19:28
|
I am using bulk insert to upload .CSV file to SQL Server.I want to skip 1st three rows of .CSV file. I am using FIRSTROW = 4 in bulk insert but it is giving me error.I think FIRSTROW works only if there are same no. of columns First three rows are not having 4 columns,they are just like title.Is there any solution for this.Plz give in details. CSV file looks like - STOCK EXCHANGE ---------------------------- NO. OF ORDERS : 100ORDER_NO BROK_ID BRANCH USR_ID2.00707 10412 31 182742.00707 10412 31 182742.00707 7536 5 42782.00707 7536 5 4278 |
|
jezemine
Master Smack Fu Yak Hacker
2886 Posts |
Posted - 2007-10-07 : 10:28:06
|
what's the error? what does your BULK INSERT command look like? elsasoft.org |
|
|
|
|
|