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

Creating a CE function with dummy table

$
0
0

Hi,

 

I have a code that works in sql form in a stored procedure (YEAR1 is an output parameter with 2 fields YEAR and HIKE).

 

DECLARE var1 INTEGER

SELECTYEAR(CURRENT_DATE) INTO var1 FROM DUMMY; 


YEAR1 = select"YEAR","HIKE"from HIKE_YEAR 

WHEREYEAR = :var1; 



Now I want to do this in CE functions. What will be the statements in CE for the above code?


I am confused on how to convert SELECTYEAR(CURRENT_DATE) INTO var1 FROM DUMMY;  into CE


Please help


Viewing all articles
Browse latest Browse all 5653

Trending Articles



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