是不是结果集是实际ROWID的ASCII码?

解决方案 »

  1.   

    rowid,rownum是针对session的。
    同样的查询不同的session会得到不同的rowid,rownum。
      

  2.   

    rowid,rownum是针对session的:对不起,完全错误:-)rowid is recording the physical address of the record . ( which datafile , which block etc. ) 
    rownum is the logical concept , it tells the number of record in the record set
      

  3.   

    你在程序中得到的是ROWID的二进制码,但是在SQLPLUS中得到是ROWID的BASE64码你可以用TO_CHAR这样在两个程序中就可以一致了,
     select to_char(rowid) into resultset_char
     form table
      

  4.   

    同意用 developer2002(开发者2002) 的方法方法。
    SELECT ROWIDTOCHAR(WONO) FROM WOMS WHERE ROWNUM<3;