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)
 Import txt file MS-SQL 2000 Database

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2003-09-26 : 07:50:15
Gaurang writes "As we use SQL-Loder for oracle for Partial (not all columns but few selected columns) import can we perform with MS-SQL 2000. If yes then how??
Waiting for you valuable inputs.
Thaks,
Gaurang"

dsdeming

479 Posts

Posted - 2003-09-26 : 09:23:37
Take a look at BULK INSERT or bcp in BOL. Or if you need even more flexibility, try the DTS utility in SQL Enterprise Manager.

Dennis
Go to Top of Page

robvolk
Most Valuable Yak

15732 Posts

Posted - 2003-09-26 : 19:54:58
You can also use format files with bcp and BULK INSERT (and DTS too I think) to ignore or reposition the columns you wish to import. Books Online has full details under "bcp, format files". They work beautifully for situations like yours.
Go to Top of Page
   

- Advertisement -