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

SQL BETWEEN in HANA

$
0
0

Hello All,

 

I have to write a condition where I have to check a "DATE" lie beween two other date values as shown in the example:

 

var_out= CE_PROJECTION(:table1,["col1","col2","col3","col4"],  ' " col2"  BETWEEN "col3" AND "col4" ' );

 

But this throws me an error  SQL: transaction rolled back by an internal error: Syntax Error in filter expression

 

Could anyone suggest the right syntax for this?

 

Thanks


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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