This commit is contained in:
adevyatova 2021-08-20 10:16:26 +00:00
parent 9b45b26dd6
commit 2ad822c164
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,7 @@
---
toc_priority: 48
toc_title: DateTime32
---
# Datetime32 {#data_type-datetime32}

View File

@ -152,6 +152,13 @@ Alias: `DATE`.
## toDateTimeOrNull {#todatetimeornull} ## toDateTimeOrNull {#todatetimeornull}
## toDate32 {#toDate32}
## toDate32OrZero {#toDate32OrZero}
## toDate32OrNull {#todate32OrNull}
## toDecimal(32\|64\|128\|256) {#todecimal3264128256} ## toDecimal(32\|64\|128\|256) {#todecimal3264128256}
Converts `value` to the [Decimal](../../sql-reference/data-types/decimal.md) data type with precision of `S`. The `value` can be a number or a string. The `S` (scale) parameter specifies the number of decimal places. Converts `value` to the [Decimal](../../sql-reference/data-types/decimal.md) data type with precision of `S`. The `value` can be a number or a string. The `S` (scale) parameter specifies the number of decimal places.