Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Oracle Server > =?windows-1252?...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 8 Topic 16661 of 17418
Post > Topic >>

=?windows-1252?Q?v=24sql=5Fbind=5Fcapture_=96_is_it_buggy=3F?=

by zigzagdna@[EMAIL PROTECTED] Jun 2, 2008 at 07:22 PM

I am using Oracle 10.2.0.3 on Windows 2003. I am using
V$sql_bind_capture to find values of bind vars used in my query.
When I look at the description of v$sql_bind_capture:
SQL> desc v$sql_bind_capture;
 Name                                      Null?    Type
 ----------------------------------------- --------
----------------------------
 ADDRESS                                            RAW(4)
 HASH_VALUE                                         NUMBER
 SQL_ID                                             VARCHAR2(13)
 CHILD_ADDRESS                                      RAW(4)
 CHILD_NUMBER                                       NUMBER
 NAME                                               VARCHAR2(30)
 POSITION                                           NUMBER
 DUP_POSITION                                       NUMBER
 DATATYPE                                           NUMBER
 DATATYPE_STRING                                    VARCHAR2(15)
 CHARACTER_SID                                      NUMBER
 PRECISION                                          NUMBER
 SCALE                                              NUMBER
 MAX_LENGTH                                         NUMBER
 WAS_CAPTURED                                       VARCHAR2(3)
 LAST_CAPTURED                                      DATE
 VALUE_STRING                                       VARCHAR2(4000)
 VALUE_ANYDATA                                      SYS.ANYDATA

It has a column was_captured. My query  has 206 bind vars, I see it
only has value YES for this field for ~40 bind vars. Rest of the
variables. Its value is NO, as a result VALUE_STRING is not shown
(i.e., null).


Why is not capturing all the bind variables. Where can I get values of
all bind variables? I do not want to do sql trace with bind variables,
I was hoping some v$ provides me all the values.
 




 8 Posts in Topic:
=?windows-1252?Q?v=24sql=5Fbind=5Fcapture_=96_is_it_buggy=3F?=
zigzagdna@[EMAIL PROTECTE  2008-06-02 19:22:09 
=?windows-1252?Q?Re=3A_v=24sql=5Fbind=5Fcapture_=96_is_it_buggy=
"fitzjarrell@[EMAIL   2008-06-03 06:55:16 
Re: v$sql_bind_capture =?windows-1252?Q?=96_is_it_buggy=3F?=
DA Morgan <damorgan@[E  2008-06-03 09:55:56 
=?windows-1252?Q?Re=3A_v=24sql=5Fbind=5Fcapture_=96_is_it_buggy=
"fitzjarrell@[EMAIL   2008-06-03 11:00:45 
=?windows-1252?Q?Re=3A_v=24sql=5Fbind=5Fcapture_=96_is_it_buggy=
Yong Huang <yong321@[E  2008-06-03 15:21:14 
=?windows-1252?Q?Re=3A_v=24sql=5Fbind=5Fcapture_=96_is_it_buggy=
zigzagdna@[EMAIL PROTECTE  2008-06-03 18:59:25 
Re: v$sql_bind_capture =?windows-1252?Q?=96_is_it_buggy=3F?=
Frank van Bortel <fran  2008-06-04 10:12:45 
=?windows-1252?Q?Re=3A_v=24sql=5Fbind=5Fcapture_=96_is_it_buggy=
zigzagdna@[EMAIL PROTECTE  2008-06-03 19:00:11 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 14:45:38 CST 2008.