December 2013
Intermediate to advanced
1872 pages
153h 31m
English
The execution context determines what permissions are checked when statements are executed or actions are performed on the database server. By default, the execution context is set to the principal connected to the server or database. If a user named Chris connects to the AdventureWorks2012 database, the permissions assigned to Chris are checked.
In SQL Server 2012, you can change the execution context so that permissions are checked for a principal other than that to which you are connected. You can make this change in execution context (called context switching) explicitly or implicitly.