不支持,我知道的好像只有sql-server和access支持!

解决方案 »

  1.   

    ORACLE数据库不支持TOP
    用rows吧
      

  2.   

    oracle里不能象SQLSERVER里那样用TOP关键字。
    一般只能这样select * from 表名 where row_num<10 order by id
      

  3.   

    rownum 这个指的是什么意思啊?
      

  4.   

    用executeUpdate提交。用executeQuery来提交一下
      

  5.   

    ->String sql="select top 10 * from tables ordey by id desc"
    ->ment.exectuUpdate(sql);String sql="select * from (select * from tables order by id desc) where rownum<=10";
    ment.executeQuery(sql);