Hi Mike, I've spoken about DBATool to one person on the list today already, so another won't hurt too much I hope ;)
DBATool will do what you want. It will even let you create a nice HTML set of documentation (you say "future reference"), the pages will show you the DDL of that table, and all it's grants, comments, constraints etc. Here's a sample: http://www.cool-tools.co.uk/Products/DDL/db=TEST+sc=DT_TEST+tb=DEPT161.htm (may be wrapped) Here's the index of the HTML documentation: http://www.cool-tools.co.uk/Products/DDL/db=TEST.htm PUBLIC holds all the tablespace, user, role, profile etc. creation statements.. Simply load an export taken with "rows=n" (most people have these handy anyway - or should!), and then click one of the output buttons (All DDL, DDL for <User>, All <Object_Type> for <User>), and choose the HTML format.. You can just as easily output the same to SQL creation scripts as well though.. I would personally do both. :) The tool is free. You can get it here: http://www.cool-tools.co.uk/Products/dbatool.html HTH Mark -----Original Message----- mike mon Sent: 20 June 2003 13:45 To: Multiple recipients of list ORACLE-L Does anyone has script which can check "grant privilege" on a table and generate output for future usage? Thanks. __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: mike mon INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.491 / Virus Database: 290 - Release Date: 18/06/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.491 / Virus Database: 290 - Release Date: 18/06/2003 -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Mark Leith INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
