What is the command in sqlcmd to show all the set options and their associated settings?
For example how do you show the current value for nocount?
set
set nocount
set nocount ?
What is the command in sqlcmd to show all the set options and their associated settings?
For example how do you show the current value for nocount?
set
set nocount
set nocount ?
Determining SET Options for a Current Session in SQL Server
DBCC USEROPTIONS (SQL 2008 and newer)
https://docs.microsoft.com/en-us/sql/t-sql/database-console-commands/dbcc-useroptions-transact-sql
Output: