Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: What is the syntax for a delete with a join in HANA?

$
0
0

Hi Doug,

 

Try the below code. It will work.

 

delete from "MYDB"."TYS_TEST2" t1

where exists

(select 1 from "MYDB"."Tys_xref" t2 where t1.SOURCE_VALUE=t2.SOURCE_VALUE and t1.TARGET_VALUE=t2.TRAGET_VALUE);

 

 

Thanks

kala


Viewing all articles
Browse latest Browse all 9165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>