diff --git a/doc/FAQ b/doc/FAQ index 6ecfb7f23f2..8c4712281e3 100644 --- a/doc/FAQ +++ b/doc/FAQ @@ -958,7 +958,7 @@ BYTEA bytea variable-length array of bytes 4.22) How do I create a column that will default to the current time? Use now(): - CREATE TABLE test (x int, modtime timestamp default now() ); + CREATE TABLE test (x int, modtime timestamp DEFAULT now() ); 4.23) Why are my subqueries using IN so slow? diff --git a/doc/src/FAQ/FAQ.html b/doc/src/FAQ/FAQ.html index 4fb0626d96e..5a428536bcd 100644 --- a/doc/src/FAQ/FAQ.html +++ b/doc/src/FAQ/FAQ.html @@ -1166,7 +1166,7 @@ If you are using a client interface like ODBC you may need to set current time?

Use now():

-	CREATE TABLE test (x int, modtime timestamp default now() );
+	CREATE TABLE test (x int, modtime timestamp DEFAULT now() );
 

4.23) Why are my subqueries using