diff options
Diffstat (limited to 'doc/src/FAQ.html')
-rw-r--r-- | doc/src/FAQ.html | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/doc/src/FAQ.html b/doc/src/FAQ.html index e549bb98a45..619d729017a 100644 --- a/doc/src/FAQ.html +++ b/doc/src/FAQ.html @@ -1180,14 +1180,10 @@ If you are using a client interface like ODBC you may need to set <H4><A NAME="4.22">4.22</A>) How do I create a column that will default to the current time?<BR></H4><P> -This way always works: +Use <i>now()</i>: <CODE><PRE> CREATE TABLE test (x int, modtime timestamp default now() ); </PRE></CODE> -In releases 7.0 and later, you may use: -<CODE><PRE> - create table test (x int, modtime timestamp default 'now'); -</PRE></CODE> <P> <H4><A NAME="4.23">4.23</A>) Why are my subqueries using <CODE>IN</CODE> so slow?<BR></H4><P> |