ClickHouse/docs/en/sql-reference/statements/set.md

21 lines
540 B
Markdown
Raw Normal View History

2020-07-11 11:05:49 +00:00
---
2021-08-01 13:03:02 +00:00
toc_priority: 50
2020-07-23 13:04:52 +00:00
toc_title: SET
2020-07-11 11:05:49 +00:00
---
# 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).