mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 09:10:48 +00:00
Document the serverUUID() function
Задокументировал функцию (черновик).
This commit is contained in:
parent
ba80e1c8cd
commit
3d6d61f7a5
@ -245,7 +245,22 @@ SELECT
|
||||
└──────────────────┴──────────────────────────────────────┘
|
||||
```
|
||||
|
||||
## serverUUID() {#server-uuid}
|
||||
|
||||
Returns the random and unique UUID, which is generated when the server is first started and stored forever. Writes it to a file in the data directory of the server. The resultant file written is UUID and is at the same level as the status file in the ClickHouse server directory.
|
||||
|
||||
**Syntax**
|
||||
|
||||
```sql
|
||||
serverUUID()
|
||||
```
|
||||
|
||||
**Returned value**
|
||||
|
||||
- The UUID of the server.
|
||||
|
||||
Type: [UUID](../data-types/uuid.md).
|
||||
|
||||
## See Also {#see-also}
|
||||
|
||||
- [dictGetUUID](../../sql-reference/functions/ext-dict-functions.md#ext_dict_functions-other)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user