Clarification of legal database/table/column names.

Clarification of NOW() behaviour.
parent 98cfa0e3
......@@ -28310,7 +28310,9 @@ you must always quote it with @code{`} when you use it:
mysql> SELECT * FROM `select` WHERE `select`.id > 100;
@end example
In previous versions of MySQL, the name rules are as follows:
@xref{Reserved words}.
In MySQL versions prior to 3.23.6, the name rules are as follows:
@itemize @bullet
@item
......@@ -32604,6 +32606,10 @@ mysql> SELECT NOW() + 0;
-> 19971215235026
@end example
Note that @code{NOW()} is only evaluated once per query, namely at the
start of query execution. This means that multiple references to
@code{NOW()} within a single query will always give the same time.
@findex UNIX_TIMESTAMP()
@item UNIX_TIMESTAMP()
@itemx UNIX_TIMESTAMP(date)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment