Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2801

Data based on optional conditions

$
0
0

Hi,

 

A requirement is like this:

 

2 tables - employee and condition. In condition table, there can be 0 or n number of records.

 

tABLES.jpg

Based on condition table, data from employee has to be fetched depending on attribute operator and value.

An attribute may occur more than once also (example EID).

 

With dynamic SQL, it is easy to evaluate but it effects the performance as my table size is very huge.

How to achieve this efficiently?

 

Copying SAP HANA Developer Center

 

Regards

Raj


Viewing all articles
Browse latest Browse all 2801

Trending Articles



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