当前位置: 代码迷 >> DB2 >> 关于查询表中第一行纪录的命令~请问
  详细解决方案

关于查询表中第一行纪录的命令~请问

热度:7413   发布时间:2013-02-26 00:00:00.0
关于查询表中第一行纪录的命令~~请教
select   *   from   库名.table   fetch     rows   ```````

------解决方案--------------------------------------------------------
还可以这样子来取
db2 +c 
declare c1 cursor for select * from 库名.table fetch rows ```````
open c1
fetch c1 for 1 row
  相关解决方案