BookmarkSubscribeRSS Feed
Reem97
Calcite | Level 5

SCD2 table have more than one current record  row (change current indicator) with flag "Y" per business key which is an odd behaviour looking for the root cause, any help please.

2 REPLIES 2
Patrick
Opal | Level 21

Duplicate business keys in your source table could potentially cause such a situation. To really know you would have to investigate the DIS generated code.

LinusH
Tourmaline | Level 20

Also, analyze your source and target data.

Take you code and change the debug flag, which will keep the work table from being deleted, and then execute the code in an interactive SAS session, like EG.

 

Data never sleeps

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1442 views
  • 2 likes
  • 3 in conversation