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)
 BCP

Author  Topic 

jung1975
Aged Yak Warrior

503 Posts

Posted - 2005-03-07 : 14:08:36
Can you copy one table to another using BCP?
If so,Can you show me how?



X002548
Not Just a Number

15586 Posts

Posted - 2005-03-07 : 14:36:47
not in one step...

You need to bcp out, then bcp in

Does the table already exists?



Brett

8-)
Go to Top of Page

jung1975
Aged Yak Warrior

503 Posts

Posted - 2005-03-07 : 14:58:18
No, they are new tables..



Go to Top of Page

X002548
Not Just a Number

15586 Posts

Posted - 2005-03-07 : 15:23:39
Then create them on the fly

SELECT * INTO newTable FROM myTable99



Brett

8-)
Go to Top of Page
   

- Advertisement -