我在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
我该怎样抑制这个?