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

Re: How to make unique value

$
0
0

Hi Jesus,

 

You may be able to achieve this using a scripted calculation view with window functions. You could write an sql statement as follows to achieve this

 

SELECT ID, CHAR, FIRST_VALUE(Mes) over (partition by ID)

FROM TABLE

 

This will always return the first value for each ID rather than aggregating by ID.


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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