When we think of SQL Server security, we often imagine logins and roles, who can access what. But under the hood, SQL Server’s security context (the identity under which code runs) shapes how queries compile and cache.