on 02-07-2013 2:21 PM
Hi
I tried using the TRACE operator to debug and find the intermediate results. But
the temporary table SQLSCRIPT_TRACE is always blank.
CREATE PROCEDURE ZVIV.TEstTRACEOP11 AS
BEGIN
tst = select PROD AMOUNT FROM ZVIV.SALES WHERE O_ID = 'O01';
trc = TRACE(:tst);
trc1 = SELECT * FROM :tst;
END;
Is there some configuration to be done @ Administration->Trace Configuration ->Global database trace?
Regards
Vivek
Hi Vivek,
as discussed - this seems to be a new bug in current revisions.
- Lars
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vivek,
Is this sample code your complete code?
I'd say that HANA optimizer "understood" that you don't have any usage of trc1 and also tst is discarded...
If this is not your complete code, try put trc1 as output of your procedure.
Also later make another test using same name:
tst = TRACE(:tst);
Regards, Fernando Da Ros
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.