Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: rbeliz000Greeting members of the forum,
I'm looking for the best way to do the following using the attached sample data for reference:
- add new column called "VIP" to every record
- if field "switch" contains the following phrases "lovepark or "sponsor", update "VIP" field with "Yes"
- if field "switch" does not contain the phrases "lovepark or "sponsor", update "VIP" field with a "No"
the phrases of interest could be in any position within the data field
the data source is an output to an xref node
the data source is an excess of 10 million records with 10 columns of data
account_number switch service color day VIP
10050 d11_lovepark36.tn platinum red mon Yes
10051 d11_v_tm722gims_silver_c02.lm gold yellow mon No
10052 d11_v_dhg535_silver_c02.pm gold blue tue No
10053 d11_v_sponsor_c02.pm bronze orange sat Yes
10054 tl90_loveparkswiss.tn gold purple fri Yes
thanks,
rbeliz000
Attachments:
lavastorm_forum.txt