16.20 - 例: TruncateHistorySPの呼び出し - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL演算子およびユーザー定義関数

prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
プログラミング リファレンス
管理
featnum
B035-1210-162K-JPN

プロシージャを呼び出すには:

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