Set
Overview
Set is used to set a variable value. These can be user variables or system variables, either way the variables are session-scope and do not affect other queries, transactions or sessions.
Not Implemented
User variables have not yet been implemented, however system variables are very much so settable.Example
Sets the session variable TraceWaitTimes to true.
set TraceWaitTimes true
See also
Related
- Session Variables - User or system variables that are scoped to the connected session.
- Keywords - A breakdown of all high-level statements available via the query handler.