<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://mailnest.com/dbawiki/index.php?action=history&amp;feed=atom&amp;title=Recreate_objects_using_dbms_metadata.get_ddl</id>
		<title>Recreate objects using dbms metadata.get ddl - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://mailnest.com/dbawiki/index.php?action=history&amp;feed=atom&amp;title=Recreate_objects_using_dbms_metadata.get_ddl"/>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=Recreate_objects_using_dbms_metadata.get_ddl&amp;action=history"/>
		<updated>2026-04-05T15:09:13Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.29.3</generator>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=Recreate_objects_using_dbms_metadata.get_ddl&amp;diff=96&amp;oldid=prev</id>
		<title>127.0.0.1 at 20:06, 8 December 2011</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=Recreate_objects_using_dbms_metadata.get_ddl&amp;diff=96&amp;oldid=prev"/>
				<updated>2011-12-08T20:06:40Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;tr style=&#039;vertical-align: top;&#039; lang=&#039;en&#039;&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 20:06, 8 December 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Recreate all the users(including grants) in a database===&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Recreate all the users (including grants) in a database===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; select dbms_metadata.get_ddl(&amp;#039;USER&amp;#039;, username) || &amp;#039;/&amp;#039; ddl&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; select dbms_metadata.get_ddl(&amp;#039;USER&amp;#039;, username) || &amp;#039;/&amp;#039; ddl&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; from dba_users&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; from dba_users&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>127.0.0.1</name></author>	</entry>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=Recreate_objects_using_dbms_metadata.get_ddl&amp;diff=95&amp;oldid=prev</id>
		<title>127.0.0.1: Created page with &quot;===Recreate all the users(including grants) in a database===  select dbms_metadata.get_ddl(&#039;USER&#039;, username) || &#039;/&#039; ddl  from dba_users  union all  select dbms_metadata.get_grant...&quot;</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=Recreate_objects_using_dbms_metadata.get_ddl&amp;diff=95&amp;oldid=prev"/>
				<updated>2011-12-08T19:54:53Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;===Recreate all the users(including grants) in a database===  select dbms_metadata.get_ddl(&amp;#039;USER&amp;#039;, username) || &amp;#039;/&amp;#039; ddl  from dba_users  union all  select dbms_metadata.get_grant...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===Recreate all the users(including grants) in a database===&lt;br /&gt;
 select dbms_metadata.get_ddl(&amp;#039;USER&amp;#039;, username) || &amp;#039;/&amp;#039; ddl&lt;br /&gt;
 from dba_users&lt;br /&gt;
 union all&lt;br /&gt;
 select dbms_metadata.get_granted_ddl(&amp;#039;ROLE_GRANT&amp;#039;, username) || &amp;#039;/&amp;#039; ddl&lt;br /&gt;
 from dba_users&lt;br /&gt;
 union all&lt;br /&gt;
 select dbms_metadata.get_granted_ddl(&amp;#039;SYSTEM_GRANT&amp;#039;, username) || &amp;#039;/&amp;#039; ddl&lt;br /&gt;
 from dba_users&lt;br /&gt;
 union all&lt;br /&gt;
 select dbms_metadata.get_granted_ddl(&amp;#039;OBJECT_GRANT&amp;#039;, username) || &amp;#039;/&amp;#039; ddl&lt;br /&gt;
 from dba_users;&lt;/div&gt;</summary>
		<author><name>127.0.0.1</name></author>	</entry>

	</feed>