Search Postgresql Archives

create table sintax

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

 



Hello,
Â
If I run
Â
create tableÂnewtable (likeÂoldtable including constraints);
Â
in the SQL window with works just file.
But if i execute
Â
execute 'create table '||newtable||' (LIKE '||oldtable||' including constraints)';
Â
inside a function, in aÂLOOP, the constraints aren't created.
WhatÂis the problem?
Tanks,
Â
julio almeidaÂ
Â
Â



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux