Commit b3fe924f authored by Bruce Momjian's avatar Bruce Momjian

Update FAQ.

parent 8e953214
......@@ -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?
......
......@@ -1166,7 +1166,7 @@ If you are using a client interface like ODBC you may need to set
current time?<BR></H4><P>
Use <i>now()</i>:
<CODE><PRE>
CREATE TABLE test (x int, modtime timestamp default now() );
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
......
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