关于查询表中第一行纪录的命令~请问
关于查询表中第一行纪录的命令~~请教
select * from 库名.table fetch rows ```````
------解决方案--------------------
还可以这样子来取
db2 +c
declare c1 cursor for select * from 库名.table fetch rows ```````
open c1
fetch c1 for 1 row
select * from 库名.table fetch rows ```````
------解决方案--------------------
还可以这样子来取
db2 +c
declare c1 cursor for select * from 库名.table fetch rows ```````
open c1
fetch c1 for 1 row