Thinking
Wednesday, December 1, 2010
Check current database user and login user
execute as login = 'TFS4DBA' -------- server login
execute as user='afm' --------- database user
select current_user,SESSION_USER, USER ,system_user,SUSER_SNAME(),SUSER_SID()
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment