Browse Source

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
Marios Trivyzas 6 years ago
parent
commit
d2f6f3b9ce
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/reference/sql/functions/date-time.asciidoc

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

@@ -203,7 +203,7 @@ function as the maximum number of second fractional digits returned is 3 (millis
 [source, sql]
 --------------------------------------------------
 CURRENT_TIMESTAMP
-CURRENT_TIMESTAMP(precision <1>)
+CURRENT_TIMESTAMP([precision <1>])
 --------------------------------------------------
 
 *Input*:
@@ -245,7 +245,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[filterNow]
 --------------------------------------------------
 
 [IMPORTANT]
-Currently, Using a _precision_ greater than 3 doesn't make any difference to the output of the
+Currently, using a _precision_ greater than 3 doesn't make any difference to the output of the
 function as the maximum number of second fractional digits returned is 3 (milliseconds).
 
 [[sql-functions-datetime-day]]