16 lines
451 B
SQL
16 lines
451 B
SQL
declare
|
|
column_exists exception;
|
|
pragma exception_init (column_exists , -01430);
|
|
begin
|
|
execute immediate 'ALTER TABLE CAJA ADD (SEQUENCIAROD NUMBER(10))';
|
|
exception when column_exists then null;
|
|
end;
|
|
/
|
|
|
|
declare
|
|
column_exists exception;
|
|
pragma exception_init (column_exists , -01430);
|
|
begin
|
|
execute immediate 'ALTER TABLE BOLETO ADD (SEQUENCIAROD NUMBER(10))';
|
|
exception when column_exists then null;
|
|
end; |