Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

TO_INT SQL HANA

$
0
0

Hi,

 

I have this kind of query :

 

SELECT *

FROM "@Table"

WHERE TO_INT("Field") <= TO_INT('1') OR ifnull("Field",'') = ''

 

the Field is a CHAR(2) , when run query on HANA STUDIO it's returned an error, if take off TO_INT from the query the result is showed.

 

i need TO_INT because without 10 <= 2 it's true.


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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