14659: Venda embarcada - Aumentar quantidade de vendas em pé
fixes bug#14659 dev:zauli qua:leo git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@95414 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
d43befb271
commit
7460ae0c81
|
@ -0,0 +1,7 @@
|
|||
declare
|
||||
object_exists exception;
|
||||
pragma exception_init (object_exists , -01430 );
|
||||
begin
|
||||
execute immediate 'ALTER TABLE CORRIDA MODIFY (CANTPARADOS NUMBER(7, 0))';
|
||||
exception when object_exists then null;
|
||||
end;
|
|
@ -0,0 +1,6 @@
|
|||
DO $$
|
||||
BEGIN
|
||||
ALTER TABLE CORRIDA MODIFY (CANTPARADOS NUMBER(7, 0));
|
||||
EXCEPTION WHEN duplicate_column THEN NULL;
|
||||
END
|
||||
$$;
|
Loading…
Reference in New Issue