gipasoft

Fix user after restore from another server

Oct 25th, 2012
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.09 KB | None | 0 0
  1. USE MyDatabase;
  2. GO
  3. EXEC sp_change_users_login 'Auto_Fix', 'username', NULL, 'password';
  4. GO
Advertisement
Add Comment
Please, Sign In to add comment