Sample output is shown as code for only SELECT SQL but there would be many SQL's like SELECT, UPDATE, DELETE AND INSERT. Also is it possible to get only the unique SQL's.
The output should contain only the SQL with Bind Variable. It should display the junk values as shown below.
***** SQL Statement *****
SELECT T0.ROW_ID C0, T0.MODIFICATION_NUM C1 FROM siebel.S_SEC_OBJECT T
+0 WHERE ((T0.OBJ_TYPE_CD = ?) AND (T0.NAME = ?)) FETCH FIRST 1 ROWS O
+NLY OPTIMIZE FOR 1 ROW
***** Bind Variables *****
Bind variable 0: User
Bind variable 1: sadmin
[7/14/05 23:19:56:108 MDT] 00000072 SystemOut O 2005-07-14 23:19:5
+6,108 TRACE_HIGH DBAxsSql sadmin 69f1985c-b880-4c52-af59-
+e12add06c461.35 uuid:ba3bbb25-e0d9-55b0-7d71-5d60253944cc uuid:
+d5f09b24-6116-4f9b-8825-d6d136c66098 ***** SQL Statement Execute T
+ime: 0 ms *****
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.