DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: auditing - how to display actual data instead of variable name?

  1. #1

    auditing - how to display actual data instead of variable name?

    Hi,

    I enabled fine grained auditing in one of our table. When user access from frontend (application), the audit table only display variable name instead of the actual data that been queried.

    How do I get the actual data that user uses in his/her query?

    This is what I get - :b1 and :b2. For me, this has no meaning what so ever. Useless to me.

    ==============
    SELECT ACC_NEXT_CAP_DATE_DB FROM ACCOUNTS WHERE ACC_NEXT_CAP_DATE_DB
    < :b1 AND ACC_ACCOUNT_NO = :b2
    ==============

    Thanks.

  2. #2
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,555
    Quote Originally Posted by feroz View Post
    This is what I get - :b1 and :b2
    those are bind variables, not variable names.
    Better to read a little about bind variables, don't you think so?
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

  3. #3
    Hehe I got it now . Forgot to include bind column.

  4. #4
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,555
    Quote Originally Posted by feroz View Post
    Forgot to include bind column.
    Don't worry... it happens to me all the time.
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width