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

how to get the output of error code in stored procedure

$
0
0

Hi experts.

 

I'm a beginner for SAP HANA hdbsql.

(This question is very elementary one...)

 

I'm wondering how to get the error code in hdbsql sotred procedure.

Could you please teach me how to do it?

 

For example, in case of Oracle PL/SQL, we can get the error code by using

 

-------------------------------------

Err_code NUMBER

Err_msg VACHAR2(55)

 

EXCEPTION

Err_code := SQLCODE;

Err_msg :=SUBSTR(SQLERRM,1,55);

-------------------------------------

 

Kind Regards

Yoh


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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