AdmMono/src/db/migration/V20241016_1101__AL-4928.sql

15 lines
504 B
SQL

declare
object_exists exception;
except_00957 exception;
table_exists exception;
pragma exception_init (object_exists , -01430);
pragma exception_init (except_00957 , -00957);
pragma exception_init(table_exists, -942);
begin
execute immediate 'ALTER TABLE CONFIG_PRODUCTO_PARADA RENAME COLUMN CONF_PRODUCTO_PARADA_ID TO CONFIGPRODUCTOPARADA_ID';
exception
when object_exists then null;
when except_00957 then null;
when table_exists then null;
end;