22 lines
469 B
SQL
22 lines
469 B
SQL
declare
|
|
begin
|
|
execute immediate 'ALTER TABLE ESTADO RENAME COLUMN CENTRORESULTADOSAG TO CENTRORESULTADOSAG1';
|
|
exception when others then null;
|
|
end;
|
|
|
|
/
|
|
|
|
declare
|
|
begin
|
|
execute immediate 'ALTER TABLE ESTADO ADD (CENTRORESULTADOSAG VARCHAR2(20))';
|
|
exception when others then null;
|
|
end;
|
|
|
|
/
|
|
|
|
declare
|
|
begin
|
|
execute immediate 'update estado set centroresultadosag = centroresultadosag1';
|
|
exception when others then null;
|
|
end;
|