Re: CREATE TABLE docs question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux