例: RepCaptureRulesVの使用 - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ データ ディクショナリ

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
2019年3月
Language
日本語
Last Update
2019-10-30
dita:mapPath
ja-JP/zzu1512081120577.ditamap
dita:ditavalPath
ja-JP/zzu1512081120577.ditaval
dita:id
B035-1092
Product Category
Software
Teradata Vantage

次のSELECT文は、テーブル オブジェクトに対して定義されたデフォルト以外のすべてのルールを選択します。

SELECT GroupName, RulesetName, LikePattern, LikeEscape, NotLikePattern, NotLikeEscape
  FROM DBC.RepCaptureRulesV
  WHERE DefaultOpt = 'N' AND ObjectKind = 'T'
  ORDER BY GroupName, RulesetName, LikePattern, LikeEscape,
  NotLikePattern, NotLikeEscape;

結果:

 GroupName repgroup
  RuleSetName prmtablers
  LikePattern repuser.prmtab%
  LikeEscape ?
NotLikePattern ?
 NotLikeEscape ?
   GroupName repgroup
  RuleSetName subtablers
  LikePattern repuser.subtab%
  LikeEscape ?
NotLikePattern repuser.subtabx%
NotLikeEscape ?