There must be an life saving global variables to use per connection like:
DECLARE @@MYVAR1 BIGINT
DECLARE @@MYVAR2 VARCHAR(30)
SET @@MYVAR1 = 123456
SET @@MYVAR2 = 'Username'
So we can use it to pass or use them anywhere on the sql server.
For eg: When a user opens my application, I'll pass @@MYVAR1 and @@MYVAR2.
Then I'll assign fields default value to @@MYVAR1 and @@MYVAR2 so I never ever need to pass extra params from application to stored procedures or queries to save them in tables. Also this is very useful if you want to do table or record security works.