Hi Dan, Have a look at my two part paper on Row Level Security that i wrote last year, there are links to them on http://www.petefinnigan.com/orasec.htm - they are called "Oracle row level security: part 1" and "...part2" they are the first links on the page. I show some examples of retrieving the SQL in a section called "Looking round" and the section called "Can the SQL including predicate be extracted or traced?" Hope this helps. kind regards Pete -- Pete Finnigan email:pete@xxxxxxxxxxxxxxxx Web site: http://www.petefinnigan.com - Oracle security audit specialists Book:Oracle security step-by-step Guide - see http://store.sans.org for details. ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request@xxxxxxxxxxxxx put 'unsubscribe' in the subject line. -- Archives are at //www.freelists.org/archives/oracle-l/ FAQ is at //www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------