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