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

SAP HANA SQL script - IF ... SELECT statement

$
0
0

Hi All,

 

I'd like to make SQL script for SAP HANA

is it possible IF statement followed by select statement ? like this ?

 

 

IF (SELECT (:posisi - 1) / 3.0 FROM DUMMY) = 1)

 

But when I tried, it shows error like this, is there any ways  I want IF statement with the value check from table ?

 

SNAG-0221.jpg

 

Regards,

 

Hendra


Viewing all articles
Browse latest Browse all 5653

Trending Articles



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