on 08-17-2009 8:47 AM
hi,
in shared cursor cache, all sql statement's explain that variables are only 'V$SQL_BIND_CAPTURE'.
why to see bind variables!
thanks in advance
ferhan
Hello Ferhan,
what is your question? How do you look for the bind variables?
Normally you see the bind values in a ST05 trace or with a manually written SELECT statement on the corresponding views.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ferhan,
>don't see bind variables in st04.
That is a normal behavior. SAP just shows the SQL statement and the corresponding execution plan in ST04. You can also jump to the part of ABAP code which is executing that SQL statement .. but that's it.
> how to see th bind variables in st05.
Activate the SQL trace ... run your ABAP program ... Deactivate SQL trace .. Show SQL trace .. double click on the OPENED SQL statement .. and there it is..
Regards
Stefan
Hi,
What is your database version? and your SAP BASIS patch level?
If you have done a trace, you see the content of the variables in the trace (already mentioned), in the ST05 explain plan you do not see anything because it is an explain plan.
If you find the sql statement in the shared pool and explain it, it will show you the access path from the V$plan, not from explain plan and you can have a button to see V$SQL_BIND_CAPTURE. This depends on your basis and patch level (do not ask me when it appeared, I do not know, you can search for notes)
in addition, you can also execute the query you mention in SAP (ST04N, dbacockpit, SE38)
But, I am not clear on what is the question. could you explain properly what is your problem?
I do not understand the following
> in shared cursor cache, all sql statement's explain that variables are only 'V$SQL_BIND_CAPTURE'.
> why to see bind variables!
do you want to see the bind? you do not find the button? what? ...
> shift+f7-> only see V$SQL_BIND_CAPTURE
ok, you see the V$SQL_BIND_CAPTURE, but you complain because ....?
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.