I came across the following code example:
EXECUTE msdb.dbo.sysmail_add_profileaccount_sp @profile_name = @'SQL mail profile', @account_name = @'account name', @sequence_number = 1 ;
Which means "@" before a string literal, as in the above example:
@ account_name=@ 'account name'
I understand that my question may be true for any parameters of the executable module in T-SQL or maybe for any string literal in T-SQL as a whole, so the above is just a concrete example of what I'm looking for.
source share