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

SQL expression cannot be converted to CS Expression

$
0
0

I have a column "YEAR_MONTH" has the format 'YYYY.MM'

 

I tried to use a calculated column to extract the month

 

In SQL Language

     to_int(left("YEAR_MONTH",4))

 

     error "SQL Expression cannot be converted to CS Expression. Reason: Unregistered function Name: "left"

 

In CE langauge

    int(leftstr("YEAR_MONTH",4))

    error "Attribute value is not a number"

 

HANA version 1.00.102. Execute in SQL engine is selected. Any thought on why? Many 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>