私は、データのクレンジングと変換にDQS (SQL Server インスタンス)を使用しているデータ クレンジングタスクを実行している 1 つのプロジェクトに取り組んでいます。
入力としてExcelファイルを一度持っています。
Address
-------
1201 Elm St Ste 4400
140 N Wright St
ABC Corp.
Tender house
ここで、アドレス列の DQS で以下のルールを適用したいと考えています。
if value ends with "corp." then replace it with "corporation"
if value ends with "st" then replace it with "street".
したがって、出力は次のようになります。
Address_output
---------
1201 Elm St Ste 4400
140 N Wright street
ABC corporation
Tender house
注:用語ベースの関係を使用して置換できますが、「で終わる」条件の場合はどうすればよいですか。あなたの助けに感謝。


