Quantcast
Viewing all articles
Browse latest Browse all 6412

HANA Timestamp issue in XSJS

Hello ,

 

When i am trying to access the Timestamp stored in a table

Image may be NSFW.
Clik here to view.
error3.png

 

 

by calling a SQL procedure

i am getting error:



Image may be NSFW.
Clik here to view.
error1.png

 

MsgCallableStatement.getTimestamp: column 2 is not a TIMESTAMP type

 

the XSJS code is :

 

 

Image may be NSFW.
Clik here to view.
error2.png

But when i change the code to see the metadata like this :

 

 

Image may be NSFW.
Clik here to view.
4.png

 

I get below data in the body

{"id":"NVARCHAR","timestamp":"TABLE","value":0}

 

the timestamp is shown here as table ?

When i execute the procedure in the SQL editor it gives the correct expected values .

 

 

 

Image may be NSFW.
Clik here to view.
5.png

 

 

Any suggestion what is going on here Image may be NSFW.
Clik here to view.

 

 

 

 

 

-Kind Regards

Ajay Nayak


Viewing all articles
Browse latest Browse all 6412

Trending Articles