In SQL Server, you can use the SESSIONPROPERTY()
function to return the SET
options settings of a session.
These are things such as your ANSI_NULLS
setting, ANSI_PADDING
, QUOTED_IDENTIFIER
, etc.
To do this, you simply pass the desired setting name to the function as a string, while selecting the function.
Continue reading