PL/SQL (MOSC)

MOSC Banner

Nested table values in v$ views

edited Apr 1, 2011 6:08AM in PL/SQL (MOSC) 4 commentsAnswered
Hi,

A client has the following query:

SELECT bunch of columns FROM bunch of tables WHERE TC_PRCS_DATE BETWEEN :B2 AND :B1 AND TXN_TYPE IN ( SELECT TXN_TYPE FROM TABLE(CAST(:B3 AS WEB_TRANSACTIONS_ARRAY)) ) ;

AND TXN_TYPE IN ( SELECT TXN_TYPE FROM TABLE(CAST(:B3 AS WEB_TRANSACTIONS_ARRAY)) ) ;

I can find the B2 and B1 bind variables values with the following query:

SELECT a.sql_text, b.name,b.position,b.datatype_string,b.value_string FROM v$sql_bind_capture b, v$sqlarea a WHERE b.sql_id = '6ybt6x9xsxm24' AND b.sql_id = a.sql_id NAME                             POSITION DATATYPE_STRING VALUE_STRING

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