本文共 249 字,大约阅读时间需要 1 分钟。
数据库中得表过多,而你又能大概记得表名,以下语句查找很方便:
select table_name,tablespace_name,temporary
from user_tables
where table_name like '%tb_name%' # tb_name 用你得模糊表名代替
oracle 查询一张表或者视图的建表/视图语句:
select dbms_metadata.get_ddl('类型','名称') from dual ;
类型:view ,table
名称:写表/视图名字
转载地址:http://yvxthz.baihongyu.com/