New_id Old_id
1
2 1
3
New_id Old_id Updated_Id
1 2
2 1 2
3 3
Need help in updating the new_id when there is an old id exists. In the above case New_Id "2" has old_id "1". So the updated_id is "2" for the new_ids "1" and "2".
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.