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

Re: How to limit a integer datatype to 0 and 1? (SAP HANA CDS Entities)

$
0
0

Hi Timo,

 

You can create a char type. Set your value as per your calculation. While passing the value, use 'CAST' statement to change the data type to integer. You are right. More improvements are coming in CDS, we have to wait for new versions.


Viewing all articles
Browse latest Browse all 8944

Trending Articles



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