zyl-0110
-- 查询当前用户所拥有的安徽项目的表
select table_name from user_tables where table_name like \'%\';

-- 查询所有用户的表
select table_name from all_tables;

-- 查询所有表  包括系统表
select table_name from dba_tables;
select table_name from dba_tables where owner=\'用户名\'

-- 获取表字段
select * from user_tab_columns where Table_Name=\'AH_JLZX_DP_ARR\';
select * from all_tab_columns where Table_Name=\'用户表\';
select * from dba_tab_columns where Table_Name=\'用户表\';

-- 获取表注释
select * from user_tab_comments

-- 获取字段注释
select * from user_col_comments 

查出来之后,自由发挥吧。妈妈再也不用担心我查不出来东西了。



分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-09-24
  • 2022-12-23
  • 2021-05-29
  • 2022-02-26
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-05-31
  • 2021-08-09
  • 2022-02-02
相关资源
相似解决方案