17 lines
444 B
SQL
17 lines
444 B
SQL
declare
|
|
column_exists exception;
|
|
pragma exception_init (column_exists , -01430);
|
|
begin
|
|
execute immediate 'ALTER TABLE CAJA ADD (FOLIORMD VARCHAR2(20))';
|
|
exception when column_exists then null;
|
|
end;
|
|
/
|
|
|
|
declare
|
|
column_exists exception;
|
|
pragma exception_init (column_exists , -01430);
|
|
begin
|
|
execute immediate 'ALTER TABLE CAJA ADD (RMD_ID NUMBER(15))';
|
|
exception when column_exists then null;
|
|
end;
|
|
/ |