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