BookmarkSubscribeRSS Feed
Ashisk
Calcite | Level 5

I am facing problem while updating one table from another using key say (product_id). Actually UPDATE transformation has where clause but it is throwing error : something like correlated query .

Could someone help me how to use correlated query in update transform in SAS DI

Problem is like this

Twol table product(prod_id , current_flag) and prod_update(prod_id , current_flag)

update product a inner join prod_update b

 on (a.prod_id=b.prod_id)

set a.current_flag=b.current_flag

 

I want to Achive DI UPDATE transform .Could someone please help me?

2 REPLIES 2
LinusH
Tourmaline | Level 20
Why don't you use the Table Loader transformation?
Data never sleeps
LinusH
Tourmaline | Level 20

Since DI Studio is involved, I moved this post to the Data Management forum.

Data never sleeps

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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
  • 1091 views
  • 0 likes
  • 2 in conversation