Quantcast
Channel: SCN : Discussion List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 5653

Delete Query with left join

$
0
0

Hi all,

 

I wanted to delete records from Table Table2 which are not present in Table Table1. Both the tables have same definitions.

Generally in other Databases this can be achieved by

 

Delete T2 from Table2 T2

Left outer join

Table1 T1

on

T1.key = T2.key

where T1.key IS NULL

 

But the above query is not working in HANA.  Any suggestions ??

 

Regards,

Suman


Viewing all articles
Browse latest Browse all 5653

Trending Articles



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