Skip to content

Commit f236779

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 67e5af6 commit f236779

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
@@ -100,7 +100,7 @@ beta[]
100100
[source, sql]
101101
--------------------------------------------------
102102
CURRENT_TIMESTAMP
103-
CURRENT_TIMESTAMP(precision <1>)
103+
CURRENT_TIMESTAMP([precision <1>])
104104
--------------------------------------------------
105105

106106
*Input*:
@@ -141,7 +141,7 @@ include-tagged::{sql-specs}/docs.csv-spec[filterNow]
141141
--------------------------------------------------
142142

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

147147
[[sql-functions-datetime-day]]

0 commit comments

Comments
 (0)