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.
テキスト検索/置換を行いたいインフォマティカのデータがあります。
ソースにレコードが「12M」形式の列があり、その「M」を「1000000」に置き換えたいと考えています。
たとえば、「12M」は数値の「12000000」になります。
IIF( SUBSTR(Column3,-1,1)='M', TO_DECIMAL(SUBSTR(Column3,1,(LENGTH(Column3)-1)))*1000000, TO_DECIMAL(Column3) )
これは、欲望の結果を見つける正しい方法です