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
 Backing up a single table?

Author  Topic 

badpig521
Starting Member

14 Posts

Posted - 2007-12-10 : 14:09:10
Is there a way to back up one table at a time?

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2007-12-10 : 14:11:31
You can back it up to another table:

SELECT *
INTO Backup
FROM YourTable

You could also export the data to a file via bcp/DTS/SSIS.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/
Go to Top of Page

badpig521
Starting Member

14 Posts

Posted - 2007-12-10 : 14:14:50
quote:
Originally posted by tkizer

You can back it up to another table:

SELECT *
INTO Backup
FROM YourTable

You could also export the data to a file via bcp/DTS/SSIS.

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



ahhhhh, ok. Thank you so much. I was asked that question, but I was not sure.
Go to Top of Page
   

- Advertisement -