AdmMono/src/db/migration/V20161017_1531__mantis7788.sql

14 lines
362 B
SQL

declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE AG_CONTAS_RECEBER MODIFY (CLIENTE VARCHAR2(14))';
exception when column_exists then null;
end;
/
declare
begin
execute immediate 'ALTER TABLE AG_ADIANTAMENTO_CLIENTE MODIFY (CLIENTE NULL)';
exception when others then null;
end;