用extjs做出的查询,提示 “缺少右括号” 错误,但是sql语句在plsql里是没有错误的
,语句如下:@"select*from(selectt.*,rownumrnfrom(selecta.cb,a.jh,b.nf,(YBCLCB_SK+RLF_SK+YF_...
,语句如下:@"select * from (select t.*,rownum rn from ( select a.cb, a.jh, b.nf, (YBCLCB_SK+RLF_SK+YF_SK) as skcb, (YBCKCB_ZY+RLF_ZY+YF_ZY) as zycb, b.qtcb, a.csfs, a.lrrq from skgysjb a,hs_qtcbwhb b where a.lrrq=b.nf {0} )t {1} ) Where rn between {2} and {3}";
展开
1个回答
展开全部
:@"select * from (select t.*,rownum rn from ( select a.cb, a.jh, b.nf, (YBCLCB_SK+RLF_SK+YF_SK) as skcb, (YBCKCB_ZY+RLF_ZY+YF_ZY) as zycb, b.qtcb, a.csfs, a.lrrq from skgysjb a,hs_qtcbwhb b where a.lrrq=b.nf {0} )t {1} ) Where rn between {2} and {3}"); 最後少了一个括弧
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询