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

System variables in HAN SQL Script (::)

$
0
0

Hello everyone,

 

I was just wondering if there exists a list of system variables in HANA SQLScript that one can use for various checks. Coming from an ABAP background, I feel the need for these from time to time.

 

e.g

::ROWCOUNT - gives the the number of records just inserted/updated/deleted . (Also useful in cursors)

::SQL_ERROR_CODE, ::SQL_ERROR_MESSAGE give info about the error that just occured.

 

Are there any other like these? Something like current procedure being executed, or its calling procedure, or whether a query was successful or not (ABAP's sy-subrc) etc etc.

 

I did do some searching, but nothing came up. Any information will be appreciated.

 

Regards,

Nehal.


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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