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

Re: ::SQL_ERROR_MESSAGE verbosity, e.g. procedure/line number?

$
0
0

Hi Johannes

 

Apparently it is becoming commonplace now for SAP internals to ask questions here in SCN instead of the internal communities. Not a clever choice!

 

Anyhow, there is no error line variable available to for the signal/re-signal approach.

Typically you could find the line number of the exception in the indexserver trace file - so, if you need it for debugging, you should find it there.

 

Seen from the SQL client side, I personally don't think that providing the source code line number in the error message to the caller is such a great idea. You don't necessarily want to expose this kind implementation details to the caller of your procedure.

 

- Lars


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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