|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2002-02-25 : 08:56:43
|
| Sudheer Kurup writes "I have a problem while using "Bulk insert" statement in sql server 2000My text file contains data in this format6000000,1000,2000,,abc0,def0,,,,,,,,,,,,,,,,,,, 6000001,1001,2001,,abc1,def1,,,,,,,,,,,,,,,,,,,6000002,1002,2002,,abc2,def2,,,,,,,,,,,,,,,,,,,6000003,1003,2003,,abc3,def3,,,,,,,,,,,,,,,,,,,6000004,1004,2004,,abc4,def4,,,,,,,,,,,,,,,,,,,6000005,1005,2005,,abc5,def5,,,,,,,,,,,,,,,,,,,where "," is the field separator Now the problem is when I use Bulk insert to insert data in to the table using this file, only the 1st , 3rd and 5th rows are inserted (i.e. alternate records) , whereas all the rows should be inserted.Can you please help me to understand the problem as to why this occurs and what is the possible solution for this.Eagerly awaiting for your prompt reply.Thanks and Regards,Sudheer" |
|