git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@73753 d1611594-4594-4d17-8e1d-87c2c4800839
master
fabio 2017-09-13 13:28:30 +00:00
parent d7215c8908
commit 513a4d95f1
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ WHERE UPPER(CONSTRAINT_NAME) = UPPER('PRECIO_VENTAJA__UN');
IF itemExists > 0 THEN
begin
EXECUTE IMMEDIATE 'ALTER TABLE PRECIO_VENTAJA DROP CONSTRAINT PRECIO_VENTAJA__UN';
EXECUTE IMMEDIATE 'drop index PRECIO_VENTAJA__UN';
exception when others then null;
end;
END IF;