Skip to content

Commit 5aa7335

Browse files
committed
Update 03-set-var.md
1 parent d9fd454 commit 5aa7335

File tree

1 file changed

+4
-0
lines changed
  • docs/en/sql-reference/10-sql-commands/50-administration-cmds

1 file changed

+4
-0
lines changed

docs/en/sql-reference/10-sql-commands/50-administration-cmds/03-set-var.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ title: SET_VAR
44

55
SET_VAR is used to specify optimizer hints within a single SQL statement, allowing for finer control over the execution plan of that specific statement. This includes:
66

7+
:::note
8+
SET_VAR will be deprecated in an upcoming release. Consider using the [SETTINGS Clause](../20-query-syntax/settings.md) instead.
9+
:::
10+
711
- Configure settings temporarily, affecting only the duration of the SQL statement execution. It's important to note that the settings specified with SET_VAR will solely impact the result of the current statement being executed and will not have any lasting effects on the overall database configuration. For a list of available settings that can be configured using SET_VAR, see [SHOW SETTINGS](03-show-settings.md). To understand how it works, see these examples:
812

913
- [Example 1. Temporarily Set Timezone](#example-1-temporarily-set-timezone)

0 commit comments

Comments
 (0)