Link to home
Start Free TrialLog in
Avatar of epmo
epmo

asked on

Copy tables between servers

How can we copy a table from one server to another?
 
thank you.
Avatar of Anthony Perkins
Anthony Perkins
Flag of United States of America image

You can either link the servers together or use OPENROWSET or OPENDATASOURCE or using DTS.
Avatar of epmo
epmo

ASKER

do you have a sample of OPENROWSET or OPENDATASOURCE ?
ASKER CERTIFIED SOLUTION
Avatar of Anthony Perkins
Anthony Perkins
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Use the Data Export/Import wizard:

Right click on the destination database choose "All Tasks"
then choose "Import data" at this point a wizard screen will pop up
screen 1: click next
screen 2:choose the data source, database and click next
screen 3:choose destination which and click next
screen 4: choose the first option "Copy table(s) and view(s) from the source database"
screen 5: choose the tables that you want to copy
screen 6: click next to finish the wizard and you are done

Note: if you want to save this as a DTS package
in the last screen choose save as DTS package
Avatar of epmo

ASKER

Interesting we do not have "Import data" under Task. SQL server studio express 2005
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial