Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

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

$
0
0


Hi Everyone

 

I read the previous answer to this question which was:

 

deletefrom sk1

where (sk1.user, sk1.location) in (select sk.user, sk.location from sk);

 

unfortunately this does a select for every key in the table.  I have to delete 1.3b rows from a 2b row table...

even HANA takes too long to run 1.3b selects...

 

How do we actually do a join with a delete????

 

Thanks

Doug


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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