Backup a Single Table in SQL Server using SSMS

Posted by Greg Low on SQL Blog See other posts from SQL Blog or by Greg Low
Published on Mon, 07 Jun 2010 06:18:00 GMT Indexed on 2010/06/07 6:33 UTC
Read the original article Hit count: 270

Filed under:
Our buddy Buck Woody made an interesting post about a common question: "How do I back up a single table in SQL Server?" That got me thinking about what a backup of a table really is. BCP is often used to get the data but you want the schema as well. For reasonable-sized tables, the easiest way to do this now is to create a script using SQL Server Management Studio. To do this, you: 1. Right-click the database (note not the table) 2. Choose Tasks > Generate Scripts 3. In the Choose Objects pane,...(read more)

© SQL Blog or respective owner