declare  
cou_num   number;   
  begin  
     select count(tname) into cou_num from tab 
where tname =upper('表名');
     
if (cou_num>0) then
     dbms_output.put_line(
'该表存在');
     end 
if;
end;


 

相关文章:

  • 2022-01-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-17
  • 2021-12-30
猜你喜欢
  • 2022-12-23
  • 2021-12-27
  • 2022-03-08
  • 2022-02-02
  • 2021-09-26
  • 2021-12-29
  • 2021-12-15
相关资源
相似解决方案