注文番号、キャンセル日、理由を含むテーブルがあります。理由フィールドは varchar(255) フィールドであり、多くの異なる営業担当者によって書かれたものであり、キャンセル理由を分類するためにレポートを生成する必要がある理由カテゴリでグループ化するのが非常に困難です。TSQL で理由を分析する最良の方法は何ですか?
営業担当者が入力した理由のサンプル
cust already has this order going out
cust can not hold for item Called to cancel order
cust doesn't want to pay for shipping
wife ordered same item from different vendor, sent email
cst made a duplicate order, sent email
cst can't hold
Cust doesn't want to go through verification process so is cancelling order
doesn't ant to hold for Bo
doesn't want
Cust called to cancel the order He can no longer get the product he wants
cnt hld
will not comply with export req
cant' hold
Custs request
Cust will not hold for BO
per. cust. request.
ところで、私は SQL Server 2005 を持っています。