File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -958,7 +958,7 @@ BYTEA bytea variable-length array of bytes
958
958
4.22) How do I create a column that will default to the current time?
959
959
960
960
Use now():
961
- CREATE TABLE test (x int, modtime timestamp default now() );
961
+ CREATE TABLE test (x int, modtime timestamp DEFAULT now() );
962
962
963
963
4.23) Why are my subqueries using IN so slow?
964
964
Original file line number Diff line number Diff line change @@ -1166,7 +1166,7 @@ <H4><A NAME="4.22">4.22</A>) How do I create a column that will default to the
1166
1166
current time?< BR > </ H4 > < P >
1167
1167
Use < i > now()</ i > :
1168
1168
< CODE > < PRE >
1169
- CREATE TABLE test (x int, modtime timestamp default now() );
1169
+ CREATE TABLE test (x int, modtime timestamp DEFAULT now() );
1170
1170
</ PRE > </ CODE >
1171
1171
< P >
1172
1172
< H4 > < A NAME ="4.23 "> 4.23</ A > ) Why are my subqueries using
You can’t perform that action at this time.
0 commit comments