select f1
from tableA
where ROWID in ( select ROWID
                from tableA
                where field1 = f1);

解决方案 »

  1.   

    select f1
    from tableA
    where ROWID in ( select ROWID
                    from tableA
                    where field1 = f1);
    你的子查询中查出来的是一个记录集,不是一条记录,不能用“=”
    而得用“in”
      

  2.   

    declare 
      v_rowid rowid;
    begin
      select rowid into v_rowid from table_name where colanme='';
    exception
      when others then
        null;
    end;
      

  3.   

    select f1
    from tableA
    where ROWID in ( select ROWID
                    from tableA
                    where field1 = f1);
    你的子查询中查出来的是一个记录集,不是一条记录,不能用“=”
    而得用“in”
      

  4.   

    select f1
    from tableA
    where ROWID in ( select ROWID
                    from tableA
                    where field1 = f1);
    你的子查询中查出来的是一个记录集,不是一条记录,不能用“=”
    而得用“in”