26 lines
679 B
SQL
26 lines
679 B
SQL
declare
|
|
column_exists exception;
|
|
pragma exception_init (column_exists , -01430);
|
|
begin
|
|
execute immediate 'ALTER TABLE MD_TOTALIZADOR ADD VERSAO NUMBER(8)';
|
|
exception when column_exists then null;
|
|
end;
|
|
/
|
|
|
|
declare
|
|
column_exists exception;
|
|
pragma exception_init (column_exists , -01430);
|
|
begin
|
|
execute immediate 'ALTER TABLE MD_RESUMO_ECF ADD VERSAO NUMBER(8)';
|
|
exception when column_exists then null;
|
|
end;
|
|
/
|
|
|
|
declare
|
|
column_exists exception;
|
|
pragma exception_init (column_exists , -01430);
|
|
begin
|
|
execute immediate 'ALTER TABLE MD_DOCUMENTO ADD VERSAO NUMBER(8)';
|
|
exception when column_exists then null;
|
|
end;
|