15 lines
427 B
SQL
15 lines
427 B
SQL
declare
|
|
column_exists exception;
|
|
pragma exception_init (column_exists , -01430);
|
|
begin
|
|
execute immediate 'alter table caja add CCF VARCHAR2(6 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 CCF VARCHAR2(6 BYTE)';
|
|
exception when column_exists then null;
|
|
end; |