15274: Diminuir o tamanho do nome dos campos
fixes bug#15274 dev:valdir qua:leonardo git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@96448 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
a793d840ed
commit
680378c128
|
@ -7,7 +7,7 @@ declare
|
||||||
pragma exception_init (except_01451 , -01451);
|
pragma exception_init (except_01451 , -01451);
|
||||||
pragma exception_init (except_01442 , -01442);
|
pragma exception_init (except_01442 , -01442);
|
||||||
begin
|
begin
|
||||||
execute immediate 'ALTER TABLE EMPRESA ADD (INDIMPRIMELOGOBILHETEVENDAEMBARCADA NUMBER(1) )';
|
execute immediate 'ALTER TABLE EMPRESA ADD (INDIMPLOGOBILHETEVTAEMBARCADA NUMBER(1) )';
|
||||||
exception
|
exception
|
||||||
when object_exists then null;
|
when object_exists then null;
|
||||||
when except_01451 then null;
|
when except_01451 then null;
|
||||||
|
|
|
@ -7,7 +7,7 @@ declare
|
||||||
pragma exception_init (except_01451 , -01451);
|
pragma exception_init (except_01451 , -01451);
|
||||||
pragma exception_init (except_01442 , -01442);
|
pragma exception_init (except_01442 , -01442);
|
||||||
begin
|
begin
|
||||||
execute immediate 'ALTER TABLE EMPRESA ADD (INDIMPRIMERELFECHAMENTODETALHADOEMBARCADA NUMBER(1) )';
|
execute immediate 'ALTER TABLE EMPRESA ADD (INDIMPRIMERELFECHDETEMBARCADA NUMBER(1) )';
|
||||||
exception
|
exception
|
||||||
when object_exists then null;
|
when object_exists then null;
|
||||||
when except_01451 then null;
|
when except_01451 then null;
|
||||||
|
|
|
@ -0,0 +1,25 @@
|
||||||
|
declare
|
||||||
|
object_exists exception;
|
||||||
|
except_00957 exception;
|
||||||
|
|
||||||
|
pragma exception_init (object_exists , -01430);
|
||||||
|
pragma exception_init (except_00957 , -00957);
|
||||||
|
begin
|
||||||
|
execute immediate 'ALTER TABLE EMPRESA RENAME COLUMN INDIMPRIMELOGOBILHETEVENDAEMBARCADA TO INDIMPLOGOBILHETEVTAEMBARCADA';
|
||||||
|
exception
|
||||||
|
when object_exists then null;
|
||||||
|
when except_00957 then null;
|
||||||
|
end;
|
||||||
|
/
|
||||||
|
declare
|
||||||
|
object_exists exception;
|
||||||
|
except_00957 exception;
|
||||||
|
|
||||||
|
pragma exception_init (object_exists , -01430);
|
||||||
|
pragma exception_init (except_00957 , -00957);
|
||||||
|
begin
|
||||||
|
execute immediate 'ALTER TABLE EMPRESA RENAME COLUMN INDIMPRIMERELFECHAMENTODETALHADOEMBARCADA TO INDIMPRIMERELFECHDETEMBARCADA';
|
||||||
|
exception
|
||||||
|
when object_exists then null;
|
||||||
|
when except_00957 then null;
|
||||||
|
end;
|
Loading…
Reference in New Issue