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.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 Bulk Insert

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-02-27 : 11:57:53
Tom writes "Is there a way to ignore the last row of a bulk insert without useing the last row number (since the number of rows will be varying)?

Thanks for all your help in the past, present and future."

nr
SQLTeam MVY

12543 Posts

Posted - 2002-02-27 : 12:33:09
How about editing the file before the bulk insert or deleting the row after the insert.

==========================================
Cursors are useful if you don't know sql.
Beer is not cold and it isn't fizzy.
Go to Top of Page

TommyO
Starting Member

1 Post

Posted - 2002-02-27 : 14:41:54
yeah, editing the text would seem logical, but it's part of a DTS package and the client is sending us the file with the messed up character after the final row deliminator.

Go to Top of Page
   

- Advertisement -