查询当前查询:
select b.NAME,
b.POSITION,b.DATATYPE_STRING,b.VALUE_STRING,b.LAST_CAPTUREDfrom v$sql_bind_capture bwhere b.sql_id = 'XXXXXX'; 查询历史查询:select b.name, b.datatype_string, b.value_string, b.last_captured
from dba_hist_sqlbind bwhere b.sql_id = 'XXXXXX'order by 4;