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
 General SQL Server Forums
 New to SQL Server Programming
 Moving a SQL Table to Another Server

Author  Topic 

cnbhold
Starting Member

43 Posts

Posted - 2010-07-29 : 16:07:42
I have a SQL table on a Production server. Not sure how to move this table with data to another server for testing. I'm currently using SQL Server 2005.

Angel

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2010-07-29 : 16:26:26
Just one table or all of the objects and data?

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

X002548
Not Just a Number

15586 Posts

Posted - 2010-07-29 : 16:27:00
bcp db.dbo.table out table.dat -Sservername -T -c

????



Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx

Add yourself!
http://www.frappr.com/sqlteam



Go to Top of Page

Lamprey
Master Smack Fu Yak Hacker

4614 Posts

Posted - 2010-07-29 : 17:04:26
There is the import/export wizard in management studio (which builds an SSIS package) or you can also roll your own SSIS package. Using the import/export wizard is a pretty easy way to go depending on your requirements.
Go to Top of Page
   

- Advertisement -