SETPAUSEON
SETPAUSE'Press Return to Continue'
SETPAGESIZE60
SETLINESIZE300
COLUMNsql_textFORMATA120
COLUMNsql_idFORMATA13
COLUMNbind_nameFORMATA10
COLUMNbind_valueFORMATA26
SELECT
sql_id,
t.sql_textsql_text,
b.namebind_name,
b.value_stringbind_value
FROM
v$sqlt
JOIN
v$sql_bind_capturebusing(sql_id)
WHERE
b.value_stringisnotnull
AND
sql_id='&sqlid'
/
↧
Script to get the bind Variable for a given sql statement
↧