1.在oracle中,数据表别名不能加as,如:select a.appname from appinfo a;-- 正确 select a.appname from appinfo as a;-- 错误  也许,是怕和oracle中的存储过程中的关键字as冲突的问题吧2.在存储过程中,select某一字段时,后面必须紧跟into,如果select整个记录,利用游标的话就另当别论了。select af.keynode into kn from APPFOUNDATION af where af.appid=aid and af.foundationid=fid;-- 有into,正 ...
  • 10:59
  • 浏览 (240)
  • 评论 (1)
andyu2008
搜索本博客
博客分类
我的相册
51504f61-e0ca-4a0a-a7b7-732db4bf4fe3-thumb
o_JUnit8
共 13 张
最近加入圈子
存档
最新评论