Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to add rows off the backup process

Status
Not open for further replies.

HappyAdam

Programmer
May 6, 2010
6
US
HI I want to take some data via backup and place it in a different database, one which has the exact same tables and strucure.

F:\Program Files\Microsoft SQL Server\MSSQL10.SQLSERVER2008\MSSQL\Backup\

where do I specify to place the data in the live folder?
 
Do you want to copy some data from one database to another?
If so, then a backup is not the way to do it. All you can do with a backup is to restore it in its entirety, either to create a new database or to totally overwrite an existing one.
You can write sql statements to reference tables in different databases by specifying the database name in the from clause. I think the format is databasename.dbo.tablename, but you had best check in BOL.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top