julio 2017-03-17 12:55:17 +00:00
parent 958959667a
commit 80960c4805
1 changed files with 7 additions and 1 deletions

View File

@ -1 +1,7 @@
ALTER TABLE EMPRESA ADD INDOBRIGANOMEPASSAGEIRO NUMBER(1,0) DEFAULT 0;
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE EMPRESA ADD INDOBRIGANOMEPASSAGEIRO NUMBER(1,0) DEFAULT 0';
exception when column_exists then null;
end;