Quantcast
Channel: SCN : Unanswered Discussions - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 5115

How to filter rows based on values of row and column having same name?

$
0
0

Hi,

 

I have table with dynamic generated column names . These column of the table is system dependent . In one column , corresponding dynamic column

name is maintained as value . This may be confusing!

In the below table , column PARAMETERS has values which is same as other columns name i.e MATNR_LO,SERNR_LO,SERNR_HI,DATE_LO.

 

I have to filter column based on values corresponding to contents of parameters . Since the column name is not fixed , I can not use static sql to filter rows, is their any other way to map column name with the contents of column . Here I want to check content of Parameters and compare the value associated with the these parameters with the column like DATE_LO,DATE_HI, MATNR_LO etc.

 

Please suggest any option!!

 

Capture.PNG


Viewing all articles
Browse latest Browse all 5115

Trending Articles



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