Skip to content

Commit c8047c0

Browse files
committed
SQL: [Docs] Small fixes for CURRENT_TIMESTAMP docs (#40792)
- Added square brackets for the optional argument of precision - Fixed character to lower case after comma (cherry picked from commit d2f6f3b)
1 parent f3c207d commit c8047c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/reference/sql/functions/date-time.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ function as the maximum number of second fractional digits returned is 3 (millis
203203
[source, sql]
204204
--------------------------------------------------
205205
CURRENT_TIMESTAMP
206-
CURRENT_TIMESTAMP(precision <1>)
206+
CURRENT_TIMESTAMP([precision <1>])
207207
--------------------------------------------------
208208

209209
*Input*:
@@ -245,7 +245,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[filterNow]
245245
--------------------------------------------------
246246

247247
[IMPORTANT]
248-
Currently, Using a _precision_ greater than 3 doesn't make any difference to the output of the
248+
Currently, using a _precision_ greater than 3 doesn't make any difference to the output of the
249249
function as the maximum number of second fractional digits returned is 3 (milliseconds).
250250

251251
[[sql-functions-datetime-day]]

0 commit comments

Comments
 (0)