Update FAQ.

This commit is contained in:
Bruce Momjian 2000-09-12 15:47:20 +00:00
parent 8e95321476
commit b3fe924f2f
2 changed files with 2 additions and 2 deletions

View File

@ -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?

View File

@ -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