易截截图软件、单文件、免安装、纯绿色、仅160KB
热门标签: c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 最新文章 : sql

sql bulk collect

bulk  collect  这个东西如何使用在PLSQL中 谁知道阿  我想在循环中把插入的操作利用上这个东西

通过bulk collect减少loop处理的开销
采用bulk collect可以将查询结果一次性地加载到collections中。
而不是通过cursor一条一条地处理。
可以在select into,fetch into,returning into语句使用bu ......

求一条统计查询的SQL语句

表A如下:
工单          制令号            不良代码
GD001            1                  NULL
GD001            1    &nb ......

急求一SQL语句

表数据
    a              b
IN201001080044 NULL
IN201001080044 88054795
IN201001080044 88054794
IN201001080044 88055071
IN201001080044 NULL
IN201001080044 NULL
IN201001080044 NULL
IN201001080044 88054791
IN201001080044 21050 ......

这样的SQL怎么写

原表
CustomerNo  CustPN            SevecoRFQ    QuoteDate    QuoteRev
H0008      TH115-AF-240D/U    1000724500    2010-01-22  C                    ......

求一SQL查询语句的写法

在Time表中有year、month、day三个字段分别存储年月日数据,
现在要根据用户输入的年月日数据,查询大于如“2008-01-01”,的结果
用sql语句怎么实现?

select * from tb where year>datepart(yy,'2008-01-01') and month>datepart(mm,'2008-01-01') and day>datepart(dd,'2008-01 ......

如何改进这条SQL语句?

我现在发现我的语句存在以下问题,首先是原始语句:

select A.thetypename, isnull(B.total,0) as inventory from typeTable  A  left join(select thetypename, sum(case when operation = '入货' then goodsnum else - goodsnum end) + isnull((select jiandangkucun from typeTable where thet ......
总记录数:3315; 总页数:553; 每页6 条; 首页 上一页 [258] [259] [260] [261] 262 [263] [264] [265] [266] [267]  下一页 尾页
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号