wilian 2017-07-03 23:30:02 +00:00
parent 4a2b28f711
commit 77fc4e7619
1 changed files with 12 additions and 0 deletions

View File

@ -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;