You could use BCP to extract the data from the table into files, and do the reverse to populate some tables from those file. But since, by definition, a database is comprised of objects including tables, users, etc. you cannot simply backup only selected objects of the database.
I have 2 servers : A and B.
A is operational server, B is testing server.
I created a user 'X' in Northwind database in server A.
I made a back up and then restore it in server B.
I find out that 'X' is automatically created in server B and all original users in Northwind server B were replaced.
foxdev : I've tried to copy the MDF file but it coz the database is mark unaccessible by SQL Server :-(
TomSark : perhaps it's true that we can't simply backup only selected object of the database.
If it's users that you are concerned with, I would suggest that you maintain scripts that create and drops the logins and the database accounts on the servers you are interested in and run them appropriately after the restore occurs.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.