Skip to content

Commit f0b967c

Browse files
committed
SQL: doc remove invalid reference
cast operators :: is available only from 7.1, remove references to it on 7.0. Relates #38662
1 parent a3e9f4b commit f0b967c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/reference/sql/language/syntax/lexic/index.asciidoc

+1-2
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,10 @@ Numeric literals that contain a decimal point are always interpreted as being of
9494
[float]
9595
==== Generic Literals
9696

97-
When dealing with arbitrary type literal, one creates the object by casting, typically, the string representation to the desired type. This can be achieved through the dedicated <<sql-operators-cast, cast operator>> and <<sql-functions-type-conversion, functions>>:
97+
When dealing with arbitrary type literal, one creates the object by casting, typically, the string representation to the desired type. This can be achieved through the dedicated <<sql-functions-type-conversion, functions>>:
9898

9999
[source, sql]
100100
----
101-
123::LONG -- cast 123 to a LONG
102101
CAST('1969-05-13T12:34:56' AS TIMESTAMP) -- cast the given string to datetime
103102
CONVERT('10.0.0.1', IP) -- cast '10.0.0.1' to an IP
104103
----

0 commit comments

Comments
 (0)