DB2 Suppress'命令已完成且未返回任何结果'

时间:2013-09-13 16:36:20

标签: db2

我在DB2 9.7.0.6(AIX)上运行SQL脚本 客户端是Embacadero的Rapid SQL 7.7

我在存储过程的开头插入以下代码来为我计算日期。

DROP VARIABLE FOLM;

CREATE VARIABLE FOLM CHAR (10);
SET FOLM = (SELECT CURRENT_DATE - (DAY(CURRENT_DATE)-1) DAYS - 1 MONTH
        FROM SYSIBM.SYSDUMMY1);

当我运行存储过程时,上面的代码在我的过程结果之前生成这三行:

The command completed with no results returned
The command completed with no results returned
The command completed with no results returned

我该怎样抑制这个?

0 个答案:

没有答案