当前位置:网站首页>How to write Ogg with multiple filter syntax?
How to write Ogg with multiple filter syntax?
2022-07-28 10:25:00 【tin】
such as : Sync employee table job_id like 'AD_VP’ The record of , Writing like this is successful :
MAP pdb1.hr.employees, TARGET orclpdb.user1.employees,filter ( @strfind (job_id,‘AD_VP’) > 0) ;
But synchronous job_id like ‘AD_VP’ or job_id like ‘AD_PRES’, How to write grammar ? Errors are reported after several attempts
Other answers 1:
According to the grammar :MAP source_table, TARGET target_table, WHERE (clause);
It can be like this
MAP pdb1.hr.employees, TARGET orclpdb.user1.employees, where(job_id like ‘AD_VP’ or job_id like ‘AD_PRES’)
Other answers 2:
Try it where
MAP pdb1.hr.employees, TARGET orclpdb.user1.employees,where(@strfind (job_id,‘AD_VP’)>0 and @strfind (job_id,‘AD_PRES’)>0) ;
Reference link :
function :
https://docs.oracle.com/en/middleware/goldengate/core/19.1/reference/strfind.html#GUID-68A15856-4DEC-4CA1-AC83-474B77DDE2F6
map:
https://docs.oracle.com/goldengate/c1230/gg-winux/GWURF/table-map.htm#GUID-C2356234-3780-48EE-9E7A-F21DC352638C__I2016740
边栏推荐
- SQL Server 2016 学习记录 --- 数据更新
- SuperMap iserver publishing management and calling map services
- 记录一次idea中的父子项目修改project与module名称,亲测!
- Skillfully use NGX_ Lua makes traffic grouping
- 漏洞分析丨HEVD-0x8.IntegerOverflow[win7x86]
- 2. 输出数组中重复的数字之一
- 11、链表反转
- 印度计划禁用中国电信设备!真离得开华为、中兴?
- SQL Server 2016学习记录 --- 单表查询
- a different object with the same identifier value was already associated with the session
猜你喜欢

什么样的知识付费系统功能,更有利于平台与讲师发展?

What kind of knowledge payment system functions are more conducive to the development of the platform and lecturers?

第一篇:UniAPP的小程序跨端开发-----创建uniapp项目

B2B e-commerce website scheme for building materials industry: enable the transformation and upgrading of building materials enterprises to achieve cost reduction and efficiency improvement

Performance test of API gateway APIs IX in Google cloud T2a and T2D

【栈的应用】--- 中缀表达式转后缀表达式

IDEA创建我的第一个项目

Aqua Data Studio 18.5.0 export insert statement

利用正则表达式从文件路径中匹配文件名

Skillfully use NGX_ Lua makes traffic grouping
随机推荐
16. String inversion
14. Double pointer - the container that holds the most water
初识SuperMap iDesktop
13、哈希表——两个链表第一个公共节点
指令系统超全知识点详解
a different object with the same identifier value was already associated with the session
Redis design specification
Elk real time log analysis platform
Match file names from file paths using regular expressions
死锁算法:银行家算法和安全性算法
MySQL架构原理
API 网关 APISIX 在Google Cloud T2A 和 T2D 的性能测试
India plans to ban China Telecom equipment! Can we really do without Huawei and ZTE?
2. Output one of the repeated numbers in the array
【栈的应用】--- 中缀表达式转后缀表达式
Voice chat app - how to standardize the development process?
C language secondary pointer explanation and example code
KingbaseES V8R6 JDBC 能否使用VIP ?
Talk about the problem of preventing others from debugging websites through console based on JS implementation
数据库安全 --- 创建登录名 用户+配置权限【笔记】