SET
none (documentation, rules or examples)
What changes
- Input
- none
- Output or change
- none
Syntax at a glance
n/a (reference page)
Work example
A batch or session needs one documented SET option with a known scope and reset point.
Read the specific option page. Record whether SQL Server reads it at parse time or run time and how the session is restored.
Check your work SET. The option affects only the intended batch or session and its prior state is restored where required.
Open Microsoft Learn for full syntax, permissions, and details for your version.