DEP006

SETUSER statement is deprecated

SETUSER statement is there only for backward-compatibility.

Since SQL Server 2008, it has been possible to use EXECUTE AS, which is much clearer.



Didn't find what you were looking for?