INFO PARAM
使用 INFO PARAM 來擷取參數定義資訊。如果名稱與多筆記錄相符,這些記錄就會全部顯示。如果查詢參數具有子選項,則不會在輸出中顯示,即使其名稱列在「選項」頁籤中。若要顯示選項的完整記錄,應個別查詢格式為 parameter.option 的完整名稱。
此參數基礎架構允許無限制的選項層級。因此,參數或選項的完整名稱可能分好幾個區段,例如 A.B.C.D。
語法
INFO PARAM name
name
參數、選項或完整名稱的名稱,這些名稱是使用點 ('.') 作為分隔符號串連在一起的數個名稱。
範例 1
以下範例將搭配 INFO PARAM 搭配輸出使用 GETINSERTS。
INFO PARAM GETINSERTS
輸出:
param name : getinserts
opposite : ignoreinserts
description : Include insert records.
argument : boolean
default : true
component(s): EXTRACT - All
: REPLICAT - All
platform(s) : All
database(s) : All
status : current
mandatory : false
dynamic : false
relations : none
範例 2
下列範例使用 DBOPTIONS.DEFERREFCONST 與 INFO PARAM 來顯示如何取得參數選項的特定詳細資訊。
INFO PARAM DBOPTIONS.DEFERREFCONST
輸出:
param name : dboptions.deferrefconst
description : Sets constraints to DEFERRABLE to delay the checking and enforcement of cascade delete and cascade update referential integrity constraints by the Oracle target database until the Replicat transaction is committed.
component(s): REPLICAT - All
platform(s) : All
database(s) : Oracle 11g
: Oracle 12c
: Oracle 18c
: Oracle 19c
: Oracle 21c
status : current
mandatory : false
dynamic : false
relations : none