Scenario: Basically my requirement is "A" table is getting refresh on daily basis. so today i got 10 records. Tomm again table get refresh and get 15 records so might be records get added, updated or deleted so prepare this kind of SAS code ? Please help
Hi and welcome to the communities!
If you want deleted observations to be removed anyway, just overwrite the old table with the new.
If you need deleted observations to be kept, but marked, you will need to use a data step interleave.
Please post examples (as text!) of your existing dataset, the delta dataset, and the expected outcome.
Hello @RajatV
Please have a look here https://documentation.sas.com/doc/en/etlug/4.904/p135va247x8srjn1gu7wzjc7cps9.htm so that you can decide what you need.
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.