Michael Monnerie написа:
> http://www.postgresql.org/docs/8.3/interactive/sql-createtable.html
> 
> Reading the docs, the following should work:
> 
> CREATE TABLE messageblks like dbmail_messageblks;
> 
> but it says:
> ERROR:  syntax error at or near "like"
> ZEILE 1: CREATE TABLE messageblks like dbmail_messageblks;
>                                   ^
> 
> What's my error?


Should be "CREATE TABLE messageblks (like dbmail_messageblks);"

-- 
Milen A. Radev


-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

Reply via email to