05-29-10, 05:06 #1Registered User
- Join Date
- May 2010
hi everybody. i am using an oracle 10g database server. i am trying to implement auditing which is really important to my system. for that i have defined an FGA policy. i have a table 'owner' and a schema 'registrar'. the table has fields ID number, NAME varchar2(40), ISAPPROVED varchar2(10). The policy works fine for SQL statements. here is the policy
this executes perfectly and i have tried executing sql statements.
update owner set name='john' where id=8 and isapproved='true';
1 row updated.
when i execute select sql_text from dba_fga_audit_trail
it displays the sql statement i have executed above.
but when i do that using a stored procedure and select sql_text from dba_fga_audit_trail it displays the sql text with bind variables. Like the one below
UPDATE OWNER SET NAME=:B2 WHERE OWNER.ID=:B1 AND OWNER.ISAPPROVED=:B3
i don't know why this is happening. please help!!
05-31-10, 02:18 #2Registered User
Provided Answers: 1
- Join Date
- Aug 2003
- Where the Surf Meets the Turf @Del Mar, CA
spammer NUKE this LUSERYou can lead some folks to knowledge, but you can not make them think.
The average person thinks he's above average!
For most folks, they don't know, what they don't know.
Good judgement comes from experience. Experience comes from bad judgement.