Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

last_day() showing error in Calculated Column

$
0
0

Hi,

 

I am trying to create a Calculated Column to find out the last date of the month based on the "CREATED_AT".

For that I tried with the following formula using SQL engine.

 

LAST_DAY (to_date("CREATED_AT"))

 

Note: CREATED_AT is Nvarchar(8).

 

But I am getting the below error.

Query.jpg

 

Can anyone suggest me why I am getting this error.

 

Note: This function is working absolutely fine in SQL console.

 

Regards,

Subrat


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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