PL/SQL 不支持SQL语句中的top

如果在PL/SQL下执行select top 10 * from tbimgae_headinfo 会报错:ORA-00923:未找到要求的FROM关键字

替代方案:select *from (select * from tbimage_headinfo order by f_dataid) where rownum <= 10 order by rownum;

原文地址:https://www.cnblogs.com/zhangjun1130/p/2005457.html