56 lines
1.6 KiB
SQL
56 lines
1.6 KiB
SQL
declare
|
|
object_exists exception;
|
|
pragma exception_init (object_exists , -01430);
|
|
begin
|
|
execute immediate 'ALTER TABLE CATEGORIA_DESCUENTO ADD (INDSEGUNDA NUMBER(1) DEFAULT 1)';
|
|
exception when object_exists then null;
|
|
end;
|
|
/
|
|
declare
|
|
object_exists exception;
|
|
pragma exception_init (object_exists , -01430);
|
|
begin
|
|
execute immediate 'ALTER TABLE CATEGORIA_DESCUENTO ADD (INDTERCA NUMBER(1) DEFAULT 1)';
|
|
exception when object_exists then null;
|
|
end;
|
|
/
|
|
declare
|
|
object_exists exception;
|
|
pragma exception_init (object_exists , -01430);
|
|
begin
|
|
execute immediate 'ALTER TABLE CATEGORIA_DESCUENTO ADD (INDQUARTA NUMBER(1) DEFAULT 1)';
|
|
exception when object_exists then null;
|
|
end;
|
|
/
|
|
declare
|
|
object_exists exception;
|
|
pragma exception_init (object_exists , -01430);
|
|
begin
|
|
execute immediate 'ALTER TABLE CATEGORIA_DESCUENTO ADD (INDQUINTA NUMBER(1) DEFAULT 1)';
|
|
exception when object_exists then null;
|
|
end;
|
|
/
|
|
declare
|
|
object_exists exception;
|
|
pragma exception_init (object_exists , -01430);
|
|
begin
|
|
execute immediate 'ALTER TABLE CATEGORIA_DESCUENTO ADD (INDSEXTA NUMBER(1) DEFAULT 1)';
|
|
exception when object_exists then null;
|
|
end;
|
|
/
|
|
declare
|
|
object_exists exception;
|
|
pragma exception_init (object_exists , -01430);
|
|
begin
|
|
execute immediate 'ALTER TABLE CATEGORIA_DESCUENTO ADD (INDSABADO NUMBER(1) DEFAULT 1)';
|
|
exception when object_exists then null;
|
|
end;
|
|
/
|
|
declare
|
|
object_exists exception;
|
|
pragma exception_init (object_exists , -01430);
|
|
begin
|
|
execute immediate 'ALTER TABLE CATEGORIA_DESCUENTO ADD (INDDOMINGO NUMBER(1) DEFAULT 1)';
|
|
exception when object_exists then null;
|
|
end;
|