select tablespace_name from dba_tablespaces where status='online'

解决方案 »

  1.   

    select tablespace_name from dba_tablespaces where status='online';
    还是出错!
    未选定行
      

  2.   

    select tablespace_name from dba_tablespaces where status='ONLINE';
    区分大小写
      

  3.   

    select tablespace_name from dba_tablespaces where status='ONLINE';
    coolmother说的ONLINE要大写是对的
      

  4.   

    select tablespace_name from dba_tablespaces where status='ONLINE';
    注意ONLINE要大写,还要单引号。另外要有足够的权限访问 表:dba_tablespaces