microsoft-sql-server-user-einem-login-zuordnen
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
microsoft-sql-server-user-einem-login-zuordnen [2017/08/21 19:06] – baumi | microsoft-sql-server-user-einem-login-zuordnen [2017/09/08 15:02] (current) – [Neue Version:] baumi | ||
---|---|---|---|
Line 4: | Line 4: | ||
~~ | ~~ | ||
====== Microsoft SQL Server – User einem Login zuordnen ====== | ====== Microsoft SQL Server – User einem Login zuordnen ====== | ||
- | + | ===== Alte Version – wird mit SQL Server 2012 noch unterstützt: | |
- | {{tag> | + | <code sql> |
+ | USE [dbname]; | ||
+ | GO | ||
+ | EXEC sp_change_users_login ' | ||
+ | GO | ||
+ | </ | ||
+ | [[http:// | ||
+ | ===== Neue Version: ===== | ||
+ | <code sql> | ||
+ | USE [dbname]; | ||
+ | GO | ||
+ | ALTER USER dbuser WITH LOGIN = login; | ||
+ | GO | ||
+ | </ | ||
+ | [[http:// | ||
+ | {{tag> |
microsoft-sql-server-user-einem-login-zuordnen.1503335207.txt.gz · Last modified: by baumi