Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 informatica 中有数据,我想进行文本搜索/替换。
我在源中有一个列,其中记录的格式为“12M”,我想替换该“M”并将其替换为“1000000”。
例如,“12M”将是一个数字“12000000”
IIF( SUBSTR(Column3,-1,1)='M', TO_DECIMAL(SUBSTR(Column3,1,(LENGTH(Column3)-1)))*1000000, TO_DECIMAL(Column3) )
这是找到渴望结果的正确方法