Database Tuning (MOSC)

MOSC Banner

ORA-20402 error generating SQLT output using XECUTE method.

edited Aug 21, 2012 6:47AM in Database Tuning (MOSC) 2 commentsAnswered
I have a customer who is trying to generate SQLT for a query and is getting the following error:

BEGIN sqltxplain.sqlt$i.xecute_end(p_statement_id => :v_statement_id, p_string => 'sqlt_s'||:v_statement_id, p_sql_id => '', p_child_number => '          ', p_input_filename => 'input/sample/Q110.sql', p_password => 'Y'); END;

*
ERROR at line 1:
ORA-20402: unique_id "" or statement_id "97885" are null
ORA-06512: at "SQLTXPLAIN.SQLT$D", line 152
ORA-06512: at "SQLTXPLAIN.SQLT$D", line 401
ORA-06512: at "SQLTXPLAIN.SQLT$I", line 2084
ORA-06512: at line 1

Anyone seen this before or know what might cause it?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center