bug #9309
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@70945 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
4a2b28f711
commit
77fc4e7619
|
@ -0,0 +1,12 @@
|
|||
declare
|
||||
column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin
|
||||
execute immediate 'ALTER TABLE PTOVTA_COMISSAO
|
||||
ADD (
|
||||
INDBILHETESTROCADOS NUMBER (1,0) DEFAULT 1,
|
||||
INDBILHETESTRANSFERIDOS NUMBER (1,0) DEFAULT 1,
|
||||
INDBILHETESDEVCANORIGEM NUMBER (1,0)
|
||||
)';
|
||||
exception when column_exists then null;
|
||||
end;
|
Loading…
Reference in New Issue