git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@67658 d1611594-4594-4d17-8e1d-87c2c4800839
master
julio 2017-04-04 19:36:52 +00:00
parent 452c5484fe
commit dde92d5ad0
1 changed files with 21 additions and 0 deletions

View File

@ -3,9 +3,30 @@ declare
pragma exception_init (column_exists , -01430); pragma exception_init (column_exists , -01430);
begin begin
execute immediate 'ALTER TABLE RUTA ADD (INDRUTAINTERNACIONAL NUMBER(1,0) DEFAULT 0 NOT NULL ENABLE)'; execute immediate 'ALTER TABLE RUTA ADD (INDRUTAINTERNACIONAL NUMBER(1,0) DEFAULT 0 NOT NULL ENABLE)';
exception when column_exists then null;
end;
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE CONDUCTOR ADD (NACIONALIDAD VARCHAR2(30 BYTE))'; execute immediate 'ALTER TABLE CONDUCTOR ADD (NACIONALIDAD VARCHAR2(30 BYTE))';
exception when column_exists then null;
end;
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE BOLETO ADD (NACIONALIDAD VARCHAR2(30 BYTE))'; execute immediate 'ALTER TABLE BOLETO ADD (NACIONALIDAD VARCHAR2(30 BYTE))';
execute immediate 'ALTER TABLE BOLETO ADD (SEXO VARCHAR2(1 BYTE))'; execute immediate 'ALTER TABLE BOLETO ADD (SEXO VARCHAR2(1 BYTE))';
exception when column_exists then null;
end;
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE CAJA ADD (NACIONALIDAD VARCHAR2(30 BYTE))'; execute immediate 'ALTER TABLE CAJA ADD (NACIONALIDAD VARCHAR2(30 BYTE))';
execute immediate 'ALTER TABLE CAJA ADD (SEXO VARCHAR2(1 BYTE))'; execute immediate 'ALTER TABLE CAJA ADD (SEXO VARCHAR2(1 BYTE))';
exception when column_exists then null; exception when column_exists then null;