select * from all_tables where owner='TEST';

TEST为用户名,用户名必须是大写。

 

查看当前登录的用户的所有表:

select table_name from user_tables;

查看所有以 SYM_ 开头的所有表:

select table_name from user_tables where table_name LIKE 'SYM_%';

查看除了以 SYM_ 开头的所有表:

select table_name from user_tables where table_name NOT LIKE 'SYM_%';

注意:引号必须是单引号

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-07
  • 2022-02-17
  • 2022-12-23
  • 2022-12-23
  • 2021-11-20
相关资源
相似解决方案