为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。 【DM版本】: DM7 【操作系统】: docker 【CPU】: 【问题描述】*:怎么查询指定模式下的表?现在的这条语句,把其他模式下的也查询出来了。 sql 语句: select DISTINCT TABLE_NAME from dba_tables where owner='SYSDBA' and tablespace_name !='TEMP'
select DISTINCT TABLE_NAME from dba_tables where owner='用户名' ;--owner写拥有模式的用户名。
select DISTINCT TABLE_NAME from dba_tables where owner='用户名' ;--owner写拥有模式的用户名。
