mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 03:25:15 +00:00
22 lines
577 B
Markdown
22 lines
577 B
Markdown
---
|
|
slug: /en/sql-reference/statements/set
|
|
sidebar_position: 50
|
|
sidebar_label: SET
|
|
---
|
|
|
|
# SET Statement
|
|
|
|
``` 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/settings.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).
|