I need to update data (all tables) on our QA environment by replacing it with our latest Prod Database data (Make QA more actual). As I understand, by default if I do it with SSMS it will also replace Security options and Roles which I want to avoid:
- Our Prod and QA DBs are on different servers so service accounts regulating activity on servers are also different
- AD groups are different, so if I just restore DB from Prod on QA, I will give access to QA to some users
- Any other unexpected issue
Is it possible somehow to replace data in all tables (Tables on QA and Prod are identical, difference only in amount of data) from DB backup file and do not touch anything else?
As I understand through Google my only variant is to restore Prod DB on QA server with different name, truncate tables on QA and use SQL MS Wizard but I hope that there are other options.
3rd party compare tools is not an option because server owner is not allow to use it. Only possible options is something free from Microsoft. It's need to be done just one time.
Create user x for login y
statements? And what about user Membership, Properties and etc? Is it possible to generate script for them in one script as well?