DB2的数据库。附一个DB2的数据集返回示例。
1 CREATE PROCEDURE "SSA_HIS"."SP_CHINESEVISITREPORT" (in Workdate_Start varchar(20) ,in Workdate_End varchar(20))
2
3 dynamic result sets 1
4 LANGUAGE SQL
5 BEGIN
6
7
8 declare clientcur cursor with return
9 for
10 select col1
11 from tablename
12 where start>=Workdate_Start;
13
14 open clientcur;
15 END
皕杰报表数据集的配置如下图:
标签:存储,Workdate,20,报表,Start,clientcur,varchar,DB2 From: https://blog.51cto.com/u_15018938/6365221