23 lines
568 B
SQL
23 lines
568 B
SQL
declare
|
|
column_exists exception;
|
|
pragma exception_init (column_exists , -01430);
|
|
begin
|
|
execute immediate 'ALTER TABLE FORMA_PAGO_DET ADD INDTOTALBUS NUMBER (1,0)';
|
|
exception when column_exists then null;
|
|
end;
|
|
|
|
/
|
|
|
|
declare
|
|
column_exists exception;
|
|
pragma exception_init (column_exists , -01430);
|
|
begin
|
|
execute immediate 'ALTER TABLE FORMA_PAGO_DET ADD INDEMBARCADA NUMBER (1,0)';
|
|
exception when column_exists then null;
|
|
end;
|
|
|
|
/
|
|
|
|
UPDATE FORMA_PAGO_DET SET INDTOTALBUS = 1;
|
|
UPDATE FORMA_PAGO_DET SET INDEMBARCADA = 1;
|