达梦数据库基本操作
作者:互联网
查询所有schema
select distinct object_name TABLE_SCHEMA from all_objects where object_type='SCH';
查询指定用户下的schema
select distinct object_name TABLE_SCHEMA from all_objects where object_type='SCH' AND OWNER='SYSDBA';
查询表空间
select tablespace_name from dba_tablespaces;
查询所有表
select TABLE_NAME from dba_tables;
查询表空间
select tablespace_name from dba_tablespaces;
标签:name,dba,数据库,object,查询,达梦,TABLE,基本操作,select 来源: https://www.cnblogs.com/libruce/p/16386809.html