January 31, 2012 at 2:06 am
I need to take a single table backup using sqlcmd???? How can i take a backup of particular table using sqlcmd??
January 31, 2012 at 2:50 am
There is no option to backup on table level. but you can use select * into to copy the table data and definition. other option is you can move the table into different filegroup and take filegroup backup.
With Sqlcmd you can copy the to run a query and just save the output to a file
sqlcmd -Q "SELECT * FROM AdventureWorks2008R2.Person.Person" -o MyOutput.txt
January 31, 2012 at 3:02 am
How can move table into filegroup and take a backup from that???
Please explain
January 31, 2012 at 3:10 am
kamleshsinhchauhan (1/31/2012)
How can move table into filegroup and take a backup from that???Please explain
Here is the steps to move table to different group
http://www.sqlservercentral.com/articles/Administration/64275/
November 13, 2023 at 4:02 pm
Use this query
Select * into tablename_bak from tablename
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply