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.