on 12-18-2018 8:51 AM
Hi All,
I am trying to display messages in the sql console by using SQLSCRIPT_PRINT in HANA version 2.00.031.00.. Program is executing sucessfully but no messages are displayed in the output.
I remember in Oracle we have to use SET SERVEROUTPUT ON;
Is there a similar function available here?
Thanks in advance!
DO
BEGIN
USING SQLSCRIPT_PRINT As PRTLIB;
PRTLIB:PRINT_LINE ( 'Example Print Line' );
END
;
Statement 'DO BEGIN USING SQLSCRIPT_PRINT As PRTLIB; PRTLIB:PRINT_LINE ( 'Example Print Line' ); END ;'
successfully executed in 49 ms 809 µs (server processing time: 1 ms 10 µs) - Rows Affected: 0
As the documentation says (check it here), the print library is only supported by HDBSQL. So it is not supported e.g. in the console of HANA Studio.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sure, you can use any DB user. Check the CLI reference for the -u and -p options.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.