declare cnt number;
begin
---查询要创建的表是否存在
select count(1)
into cnt
from cols
where table_name = upper('sys_CustomReport')
and column_name = upper('FConfig');

---如果存在则删除该表
if cnt<1 then
   execute immediate 'ALTER TABLE sys_CustomReport ADD FConfig Blob';
end if;
end;

相关文章:

  • 2022-12-23
  • 2022-02-11
  • 2022-12-23
  • 2021-12-27
  • 2022-12-23
  • 2021-06-14
  • 2021-08-09
  • 2022-12-23
猜你喜欢
  • 2021-06-04
  • 2022-12-23
  • 2021-12-17
  • 2022-12-23
  • 2022-12-23
  • 2021-07-08
  • 2022-12-23
相关资源
相似解决方案