OGG -FILTER 引數過濾
Using FILTER
Use FILTER to select or exclude records based on a numeric value. A filter expression can use
conditional operators, Oracle GoldenGatecolumn-conversion functions, or both
filter 引數基於數值來選擇或者提出資料!!!-----最重要
Separate all FILTERcomponents with commas. A FILTERclause can include the following:
● Numbers
● Columns that contain numbers
● Functions that return numbers
● Arithmetic operators:
+ (plus)
- (minus)
* (multiply)
/ (divide)
\ (remainder)
● Comparison operators:
> (greater than)
>= (greater than or equal)
< (less than)
<= (less than or equal)
= (equal)
<> (not equal)
Results derived from comparisons can be zero (indicating FALSE) or non-zero (indicating
TRUE).
● Parentheses (for grouping results in the expression)
● Conjunction operators: AND, OR
FILTER ((PRODUCT_PRICE*PRODUCT_AMOUNT)>10000))
FILTER (@STRFIND(NAME, "JOE") > 0) @STRFIND--字元函式
意思是選擇name中包含JOE的記錄
++++++++++++++++++++++++++++++++++++++++
在做實驗的時候
配置好抽取程式,複製程式啟動起來並沒有報錯。
但是在insert 的時候複製程式中斷abanded 資料複製失敗 原來是filter 出錯
改過filter 引數後啟動複製程式,程式啟動資料自動過濾後成功複製進目標表。
map gg.ehr_healthrecord,target regg.ehr_healthrecord FILTER (@STRFIND(MANADOCTORID,"hew") >0);
Use FILTER to select or exclude records based on a numeric value. A filter expression can use
conditional operators, Oracle GoldenGatecolumn-conversion functions, or both
filter 引數基於數值來選擇或者提出資料!!!-----最重要
Separate all FILTERcomponents with commas. A FILTERclause can include the following:
● Numbers
● Columns that contain numbers
● Functions that return numbers
● Arithmetic operators:
+ (plus)
- (minus)
* (multiply)
/ (divide)
\ (remainder)
● Comparison operators:
> (greater than)
>= (greater than or equal)
< (less than)
<= (less than or equal)
= (equal)
<> (not equal)
Results derived from comparisons can be zero (indicating FALSE) or non-zero (indicating
TRUE).
● Parentheses (for grouping results in the expression)
● Conjunction operators: AND, OR
FILTER ((PRODUCT_PRICE*PRODUCT_AMOUNT)>10000))
FILTER (@STRFIND(NAME, "JOE") > 0) @STRFIND--字元函式
意思是選擇name中包含JOE的記錄
++++++++++++++++++++++++++++++++++++++++
在做實驗的時候
配置好抽取程式,複製程式啟動起來並沒有報錯。
但是在insert 的時候複製程式中斷abanded 資料複製失敗 原來是filter 出錯
改過filter 引數後啟動複製程式,程式啟動資料自動過濾後成功複製進目標表。
map gg.ehr_healthrecord,target regg.ehr_healthrecord FILTER (@STRFIND(MANADOCTORID,"hew") >0);
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26764973/viewspace-1194993/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- OGG 行過濾filter 引數Filter
- filter過濾Filter
- Filter過濾器Filter過濾器
- nuxt 過濾 query 引數UX
- PHP 過濾器(Filter)PHP過濾器Filter
- Java Filter過濾器JavaFilter過濾器
- lucene Filter過濾器Filter過濾器
- Elasticsearch——filter過濾查詢ElasticsearchFilter
- Filter過濾器的使用Filter過濾器
- JavaWeb - 【Filter】敏感詞過濾JavaWebFilter
- JavaWeb 中 Filter過濾器JavaWebFilter過濾器
- http獲取get引數過濾HTTP
- 使用 PHP 的 Filter 函式(過濾器)高效、安全地獲取請求引數PHPFilter函式過濾器
- 布隆過濾器(Bloom Filter)過濾器OOMFilter
- Laravel 模型過濾(Filter)設計Laravel模型Filter
- 布隆過濾器 Bloom Filter過濾器OOMFilter
- Bloom Filter 布隆過濾器OOMFilter過濾器
- servlet的過濾器filter類Servlet過濾器Filter
- Filter不過濾CSS和JSFilterCSSJS
- angular內建過濾器-filterAngular過濾器Filter
- ogg引數解析
- MySQL 5.7 複製的過濾引數MySql
- OGG引數詳解
- Vue定義全域性過濾器filterVue過濾器Filter
- HBase Filter 過濾器之 ValueFilter 詳解Filter過濾器
- 布隆過濾器(Bloom Filter)詳解過濾器OOMFilter
- filter在JavaScript中過濾陣列元素FilterJavaScript陣列
- 攔截器(Interceptor)與過濾器(Filter)過濾器Filter
- 如何在vue中使用過濾器filterVue過濾器Filter
- Java 中的 Filter 過濾器詳解JavaFilter過濾器
- 走進AngularJs(七) 過濾器(filter)AngularJS過濾器Filter
- Filter-Policy過濾策略&Route-policyFilter
- OGG:ALLOWNOOPUPDATES,NOALLOWNOOPUPDATES 引數概念OOP
- 【Java基礎】--filter過濾器原理解析JavaFilter過濾器
- AngularJS教程二十一—— 過濾器(filter)AngularJS過濾器Filter
- 【SSO】--單點登入之過濾器(filter)過濾器Filter
- java8 多條件的filter過濾JavaFilter
- SVG <filter> 濾鏡SVGFilter