mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 09:10:48 +00:00
20 lines
525 B
Markdown
20 lines
525 B
Markdown
|
---
|
||
|
toc_priority: 51
|
||
|
---
|
||
|
|
||
|
# SET Statement {#query-set}
|
||
|
|
||
|
``` sql
|
||
|
SET param = value
|
||
|
```
|
||
|
|
||
|
Assigns `value` to the `param` [setting](../../operations/settings/index.md) for the current session. You cannot change [server settings](../../operations/server-configuration-parameters/index.md) this way.
|
||
|
|
||
|
You can also set all the values from the specified settings profile in a single query.
|
||
|
|
||
|
``` sql
|
||
|
SET profile = 'profile-name-from-the-settings-file'
|
||
|
```
|
||
|
|
||
|
For more information, see [Settings](../../operations/settings/settings.md).
|