From 3df213fbe50988b66d41b995ef666827947b8651 Mon Sep 17 00:00:00 2001 From: "arjen@george.bitbike.com" <> Date: Thu, 27 Jun 2002 09:03:23 +1000 Subject: [PATCH] Clarification of legal database/table/column names. Clarification of NOW() behaviour. --- Docs/manual.texi | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Docs/manual.texi b/Docs/manual.texi index 8f71d7cbd4..cf8f7d1a98 100644 --- a/Docs/manual.texi +++ b/Docs/manual.texi @@ -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) -- 2.30.9