26 lines
671 B
SQL
26 lines
671 B
SQL
declare
|
|
object_exists exception;
|
|
pragma exception_init (object_exists , -00955);
|
|
begin
|
|
execute immediate 'ALTER TABLE MD_TOTALIZADOR ADD (ACTIVO NUMBER(1))';
|
|
exception when object_exists then null;
|
|
end;
|
|
/
|
|
|
|
declare
|
|
object_exists exception;
|
|
pragma exception_init (object_exists , -00955);
|
|
begin
|
|
execute immediate 'ALTER TABLE MD_TOTALIZADOR ADD (USUARIO_ID NUMBER(7))';
|
|
exception when object_exists then null;
|
|
end;
|
|
/
|
|
|
|
declare
|
|
object_exists exception;
|
|
pragma exception_init (object_exists , -00955);
|
|
begin
|
|
execute immediate 'ALTER TABLE MD_TOTALIZADOR ADD (FECMODIF DATE)';
|
|
exception when object_exists then null;
|
|
end;
|