プロシージャを呼び出すには:
CALL TDMaps.TruncateHistorySP(current_timestamp, :NumofDeleteRows);
*** Procedure has been executed.
*** Warning: 3212 The stored procedure returned one or more result sets.
*** Total elapsed time was 2 seconds.
NumDeletedRows
--------------
1
*** ResultSet# 1 : 3 rows returned by "TDMAPS.TRUNCATEHISTORYSP".
Table NumRowsDeleted
------------- --------------
ActionHistory 0
LogTbl 1
AnalyzeLogTbl 0