SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 user account
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Constraint Violating Yak Guru

377 Posts

Posted - 05/09/2013 :  13:01:58  Show Profile  Reply with Quote

Is user account will be copied during database restoration from production to development or we need to create each and every time during restoration?

Bustaz Kool
Flowing Fount of Yak Knowledge

1827 Posts

Posted - 05/09/2013 :  13:37:29  Show Profile  Reply with Quote
The USERs are a database level concept and will be restored with the database. The LOGINs are a server level concept and are NOT carried forward by a database restore. You will want to verify that the IDs of the LOGIN and USER are the same.

There are two kinds of light -- the glow that illuminates, and the glare that obscures. -James Thurber
Go to Top of Page

Posting Yak Master

160 Posts

Posted - 05/10/2013 :  03:14:51  Show Profile  Reply with Quote
Hi Sara,

I go with Bustaz; as long as logins are present with same user, your DB restore from Dev to prod shouldn't have any problem.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000