<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>Oracle News</title>
    <link rel="alternate" type="text/html" href="http://www.lewin-planet.net/oranews/" />
    <link rel="self" type="application/atom+xml" href="http://www.lewin-planet.net/oranews/atom.xml" />
    <id>tag:www.lewin-planet.net,2009-01-14:/oranews//1</id>
    <updated>2009-05-07T15:15:50Z</updated>
    <subtitle>General news of what is going on in the world of Oracle database technologies</subtitle>
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.21-en</generator>

<entry>
    <title>Upgrade 10.2.x.x to 10.2.0.4 / ORA-01507 with DBUA</title>
    <link rel="alternate" type="text/html" href="http://www.lewin-planet.net/oranews/2009/05/upgrade-102xx-to-10204-ora-01507-with-dbua.html" />
    <id>tag:www.lewin-planet.net,2009:/oranews//1.109</id>

    <published>2009-05-07T13:38:16Z</published>
    <updated>2009-05-07T15:15:50Z</updated>

    <summary> Normal 0 21 false false false DE X-NONE X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:&quot;Table Normal&quot;; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:&quot;&quot;; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:&quot;Times New Roman&quot;; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri;...</summary>
    <author>
        <name>Paul Lewin</name>
        
    </author>
    
        <category term="Administration" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="upgrade" label="Upgrade" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.lewin-planet.net/oranews/">
        <![CDATA[<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 12"><meta name="Originator" content="Microsoft Word 12"><link rel="File-List" href="file:///C:%5CDOCUME%7E1%5Cplewin%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"><link rel="themeData" href="file:///C:%5CDOCUME%7E1%5Cplewin%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"><link rel="colorSchemeMapping" href="file:///C:%5CDOCUME%7E1%5Cplewin%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:View>Normal</w:View>
  <w:Zoom>0</w:Zoom>
  <w:TrackMoves/>
  <w:TrackFormatting/>
  <w:HyphenationZone>21</w:HyphenationZone>
  <w:PunctuationKerning/>
  <w:ValidateAgainstSchemas/>
  <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
  <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
  <w:DoNotPromoteQF/>
  <w:LidThemeOther>DE</w:LidThemeOther>
  <w:LidThemeAsian>X-NONE</w:LidThemeAsian>
  <w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
   <w:DontGrowAutofit/>
   <w:SplitPgBreakAndParaMark/>
   <w:DontVertAlignCellWithSp/>
   <w:DontBreakConstrainedForcedTables/>
   <w:DontVertAlignInTxbx/>
   <w:Word11KerningPairs/>
   <w:CachedColBalance/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
  <m:mathPr>
   <m:mathFont m:val="Cambria Math"/>
   <m:brkBin m:val="before"/>
   <m:brkBinSub m:val="&#45;-"/>
   <m:smallFrac m:val="off"/>
   <m:dispDef/>
   <m:lMargin m:val="0"/>
   <m:rMargin m:val="0"/>
   <m:defJc m:val="centerGroup"/>
   <m:wrapIndent m:val="1440"/>
   <m:intLim m:val="subSup"/>
   <m:naryLim m:val="undOvr"/>
  </m:mathPr></w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
  DefSemiHidden="true" DefQFormat="false" DefPriority="99"
  LatentStyleCount="267">
  <w:LsdException Locked="false" Priority="0" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Normal"/>
  <w:LsdException Locked="false" Priority="9" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 1"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 2"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 3"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 4"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 5"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 6"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 7"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 8"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 9"/>
  <w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>
  <w:LsdException Locked="false" Priority="10" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Title"/>
  <w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>
  <w:LsdException Locked="false" Priority="11" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>
  <w:LsdException Locked="false" Priority="22" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Strong"/>
  <w:LsdException Locked="false" Priority="20" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>
  <w:LsdException Locked="false" Priority="59" SemiHidden="false"
   UnhideWhenUsed="false" Name="Table Grid"/>
  <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>
  <w:LsdException Locked="false" Priority="1" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading"/>
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List"/>
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid"/>
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1"/>
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2"/>
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1"/>
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2"/>
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1"/>
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2"/>
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3"/>
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List"/>
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading"/>
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List"/>
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid"/>
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 1"/>
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 1"/>
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 1"/>
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>
  <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>
  <w:LsdException Locked="false" Priority="34" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>
  <w:LsdException Locked="false" Priority="29" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Quote"/>
  <w:LsdException Locked="false" Priority="30" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 1"/>
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 1"/>
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 2"/>
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 2"/>
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 2"/>
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 2"/>
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 2"/>
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 3"/>
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 3"/>
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 3"/>
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 3"/>
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 3"/>
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 4"/>
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 4"/>
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 4"/>
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 4"/>
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 4"/>
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 5"/>
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 5"/>
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 5"/>
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 5"/>
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 5"/>
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 6"/>
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 6"/>
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 6"/>
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 6"/>
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 6"/>
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>
  <w:LsdException Locked="false" Priority="19" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>
  <w:LsdException Locked="false" Priority="21" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>
  <w:LsdException Locked="false" Priority="31" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>
  <w:LsdException Locked="false" Priority="32" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>
  <w:LsdException Locked="false" Priority="33" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>
  <w:LsdException Locked="false" Priority="37" Name="Bibliography"/>
  <w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>
 </w:LatentStyles>
</xml><![endif]--><style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:roman;
	mso-font-pitch:variable;
	mso-font-signature:-1610611985 1107304683 0 0 159 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:-1610611985 1073750139 0 0 159 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-parent:"";
	margin-top:0cm;
	margin-right:0cm;
	margin-bottom:10.0pt;
	margin-left:0cm;
	line-height:115%;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:"Times New Roman";
	mso-ansi-language:EN-US;
	mso-fareast-language:EN-US;}
.MsoChpDefault
	{mso-style-type:export-only;
	mso-default-props:yes;
	font-size:10.0pt;
	mso-ansi-font-size:10.0pt;
	mso-bidi-font-size:10.0pt;
	mso-ascii-font-family:Calibri;
	mso-fareast-font-family:Calibri;
	mso-hansi-font-family:Calibri;}
@page Section1
	{size:612.0pt 792.0pt;
	margin:70.85pt 70.85pt 2.0cm 70.85pt;
	mso-header-margin:36.0pt;
	mso-footer-margin:36.0pt;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
-->
</style><!--[if gte mso 10]>
<style>
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-priority:99;
	mso-style-qformat:yes;
	mso-style-parent:"";
	mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
	mso-para-margin:0cm;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:"Times New Roman";
	mso-fareast-theme-font:minor-fareast;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:"Times New Roman";
	mso-bidi-theme-font:minor-bidi;}
</style>
<![endif]-->

<p class="MsoNormal"><span lang="EN-US">During the upgrading of an Oracle database from
10g to 10.2.0.4 under Solaris I ran into a number of problems. So this is a log
of what went wrong and how to get around the problems. This log refers to a
single instance non-Rac database environment. All tasks should be performed under
the oracle user except where otherwise stated.<br />
<br />
1). You first need to download and unzip the p6810189_10204_Solaris-64.zip to
/tmp for example.<br />
<br />
2). Shutdown the database instance and check that all oracle processes have
terminated.<br />
<br />
3). Now start the runInstaller in the unzipped tmp directory in Disk1 ie.
/tmp/oracle/Disk1</span></p>

<p class="MsoNormal"><span lang="EN-US">4). When prompted run the root.sh script as
root.</span></p>

<p class="MsoNormal"><span lang="EN-US">5). Startup the database with sqlplus as
sys in upgrade mode "startup upgrade".</span></p>

<p class="MsoNormal"><span lang="EN-US">6). Execute the upgrade assistant "dbua"
and follow the instructions.</span></p>

<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>

<p class="MsoNormal"><span lang="EN-US">Possible problems are:</span></p>

<p class="MsoNormal"><span lang="EN-US">1). You can get an ORA-01507 during the
dbua execution. Under solaris that resulted from a discrepancy between the ORACLE_HOME
and the oratab entry. Correcting that was tricky for two reasons. Firstly you
need root rights to change the oratab and secondly I found two versions of
oratab in /etc and /var/opt/oracle.</span></p>

<p class="MsoNormal"><span lang="EN-US">2). Because the ORACLE_HOME was not setup
correctly I needed to alter the root.sh script. Also the rdbms/install/rootadd.sh
and the oraInst.loc in ORACLE_HOME had an incorrect path. Although the paths
actually mapped to the same physical directories they used alternate linked
paths and where as such not identical this caused the dbua to throw an ORA-01507
saying that the "'Dbua thinks this is a Rerun operation" and the database is
not mounted - which was actually all rubbish.</span></p>

]]>
        
    </content>
</entry>

<entry>
    <title>Oracle Flashback Schema - do-it-yourself</title>
    <link rel="alternate" type="text/html" href="http://www.lewin-planet.net/oranews/2009/03/oracle-flashback-schema---do-it-yourself.html" />
    <id>tag:www.lewin-planet.net,2009:/oranews//1.108</id>

    <published>2009-03-23T14:20:13Z</published>
    <updated>2009-03-25T10:52:00Z</updated>

    <summary> Normal 0 21 false false false MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:&quot;Normale Tabelle&quot;; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:&quot;&quot;; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:&quot;Times New Roman&quot;; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;} Oracle&apos;s Flashback functionality is a really great...</summary>
    <author>
        <name>Paul Lewin</name>
        
    </author>
    
        <category term="Development" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="codesample" label="Code-Sample," scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="plsql" label="PL/SQL" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.lewin-planet.net/oranews/">
        <![CDATA[<p><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 11"><meta name="Originator" content="Microsoft Word 11"><link rel="File-List" href="file:///C:%5CDOKUME%7E1%5Cplewin%5CLOKALE%7E1%5CTemp%5Cmsohtml1%5C08%5Cclip_filelist.xml"><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:View>Normal</w:View>
  <w:Zoom>0</w:Zoom>
  <w:HyphenationZone>21</w:HyphenationZone>
  <w:PunctuationKerning/>
  <w:ValidateAgainstSchemas/>
  <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
  <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
   <w:DontGrowAutofit/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:LatentStyles DefLockedState="false" LatentStyleCount="156">
 </w:LatentStyles>
</xml><![endif]--><style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
    {mso-style-parent:"";
    margin:0cm;
    margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:12.0pt;
    font-family:"Times New Roman";
    mso-fareast-font-family:"Times New Roman";}
@page Section1
    {size:595.3pt 841.9pt;
    margin:70.85pt 70.85pt 2.0cm 70.85pt;
    mso-header-margin:35.4pt;
    mso-footer-margin:35.4pt;
    mso-paper-source:0;}
div.Section1
    {page:Section1;}
-->
</style><!--[if gte mso 10]>
<style>
 /* Style Definitions */
 table.MsoNormalTable
    {mso-style-name:"Normale Tabelle";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-parent:"";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    mso-para-margin:0cm;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:10.0pt;
    font-family:"Times New Roman";
    mso-ansi-language:#0400;
    mso-fareast-language:#0400;
    mso-bidi-language:#0400;}
</style>
<![endif]--></p>

<p class="MsoNormal" style=""><font style="font-size: 0.8em;"><span style="font-family: Arial;" lang="EN-GB">Oracle's <b style="">Flashback</b> functionality is a really
great feature and it comes in all shapes and sizes except "<i style="">schema</i>". If you are writing a test
suite and want exactly the same data conditions per test, it would be fantastic
to build the schema and fill it with initial data then run 100 different tests,
which always reset to the initial data to the original timestamp. That would be
"<b style="">Flashback Schema</b>", which
neither 10g nor 11g have on offer. But hey folks, let's do-it-ourselves!<br />
<br />
The following code is a simple implementation of Flashback Schema with some
restrictions regarding the kind of objects, which can be flashed:</span></font></p><p class="MsoNormal" style=""><br /><span style="font-family: Arial;" lang="EN-GB"><u1:p></u1:p><o:p></o:p></span></p><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 11"><meta name="Originator" content="Microsoft Word 11"><link rel="File-List" href="file:///C:%5CDOKUME%7E1%5Cplewin%5CLOKALE%7E1%5CTemp%5Cmsohtml1%5C09%5Cclip_filelist.xml"><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:View>Normal</w:View>
  <w:Zoom>0</w:Zoom>
  <w:HyphenationZone>21</w:HyphenationZone>
  <w:PunctuationKerning/>
  <w:ValidateAgainstSchemas/>
  <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
  <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
   <w:DontGrowAutofit/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:LatentStyles DefLockedState="false" LatentStyleCount="156">
 </w:LatentStyles>
</xml><![endif]--><style>
<!--
 /* Font Definitions */
 @font-face
    {font-family:Tunga;
    panose-1:0 0 4 0 0 0 0 0 0 0;
    mso-font-charset:0;
    mso-generic-font-family:auto;
    mso-font-pitch:variable;
    mso-font-signature:4194307 0 0 0 1 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
    {mso-style-parent:"";
    margin:0cm;
    margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:12.0pt;
    font-family:"Times New Roman";
    mso-fareast-font-family:"Times New Roman";}
@page Section1
    {size:595.3pt 841.9pt;
    margin:70.85pt 70.85pt 2.0cm 70.85pt;
    mso-header-margin:35.4pt;
    mso-footer-margin:35.4pt;
    mso-paper-source:0;}
div.Section1
    {page:Section1;}
-->
</style><!--[if gte mso 10]>
<style>
 /* Style Definitions */
 table.MsoNormalTable
    {mso-style-name:"Normale Tabelle";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-parent:"";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    mso-para-margin:0cm;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:10.0pt;
    font-family:"Times New Roman";
    mso-ansi-language:#0400;
    mso-fareast-language:#0400;
    mso-bidi-language:#0400;}
</style>
<![endif]--><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 11"><meta name="Originator" content="Microsoft Word 11"><link rel="File-List" href="file:///C:%5CDOKUME%7E1%5Cplewin%5CLOKALE%7E1%5CTemp%5Cmsohtml1%5C09%5Cclip_filelist.xml"><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:View>Normal</w:View>
  <w:Zoom>0</w:Zoom>
  <w:HyphenationZone>21</w:HyphenationZone>
  <w:PunctuationKerning/>
  <w:ValidateAgainstSchemas/>
  <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
  <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
   <w:DontGrowAutofit/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:LatentStyles DefLockedState="false" LatentStyleCount="156">
 </w:LatentStyles>
</xml><![endif]--><style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tunga;
	panose-1:0 0 4 0 0 0 0 0 0 0;
	mso-font-charset:0;
	mso-generic-font-family:auto;
	mso-font-pitch:variable;
	mso-font-signature:4194307 0 0 0 1 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0cm;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
@page Section1
	{size:595.3pt 841.9pt;
	margin:70.85pt 70.85pt 2.0cm 70.85pt;
	mso-header-margin:35.4pt;
	mso-footer-margin:35.4pt;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
-->
</style><!--[if gte mso 10]>
<style>
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Normale Tabelle";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
	mso-para-margin:0cm;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";
	mso-ansi-language:#0400;
	mso-fareast-language:#0400;
	mso-bidi-language:#0400;}
</style>
<![endif]--><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 11"><meta name="Originator" content="Microsoft Word 11"><link rel="File-List" href="file:///C:%5CDOKUME%7E1%5Cplewin%5CLOKALE%7E1%5CTemp%5Cmsohtml1%5C09%5Cclip_filelist.xml"><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:View>Normal</w:View>
  <w:Zoom>0</w:Zoom>
  <w:HyphenationZone>21</w:HyphenationZone>
  <w:PunctuationKerning/>
  <w:ValidateAgainstSchemas/>
  <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
  <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
   <w:DontGrowAutofit/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:LatentStyles DefLockedState="false" LatentStyleCount="156">
 </w:LatentStyles>
</xml><![endif]--><style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tunga;
	panose-1:0 0 4 0 0 0 0 0 0 0;
	mso-font-charset:0;
	mso-generic-font-family:auto;
	mso-font-pitch:variable;
	mso-font-signature:4194307 0 0 0 1 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0cm;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
@page Section1
	{size:595.3pt 841.9pt;
	margin:70.85pt 70.85pt 2.0cm 70.85pt;
	mso-header-margin:35.4pt;
	mso-footer-margin:35.4pt;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
-->
</style><!--[if gte mso 10]>
<style>
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Normale Tabelle";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
	mso-para-margin:0cm;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";
	mso-ansi-language:#0400;
	mso-fareast-language:#0400;
	mso-bidi-language:#0400;}
</style>
<![endif]-->

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">CREATE OR
REPLACE procedure Flashback_Schema( p_flashback2date in DATE ) AS<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">--<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">-- Author:
Paul Lewin / 20th March 2009<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">-- Version 1.1 / 25th March 2009<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">--
Description:&nbsp; Flashback an Oracle schema to a past point-in-time<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">-- Field of
use: Not for production but for testing and simulation (QA)<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">--<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">-- Setup the
instance:<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">--&nbsp; Set
the retention period for the instance before use (in seconds) 86400 = 24 Hrs</span></p><p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">--&nbsp; Make sure the UNDO-Tablespace is large enough to handle all changes for 24 Hrs<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB"></span><p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">--&nbsp;
ALTER SYSTEM SET UNDO_RETENTION = 86400; <u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">--&nbsp;
ALTER TABLESPACE UNDOTBS1 RETENTION GUARANTEE; <u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">--<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">-- Setup the
user (as System):<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">--&nbsp;
Grant execute on DBMS_FLASHBACK to username;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">--&nbsp;
Grant FLASHBACK ANY TABLE to username;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">--&nbsp;
Grant execute any procedure to username;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">--&nbsp;
Grant SELECT ANY TRANSACTION to username;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB"></span><p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">--<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">-- Calling:<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">--&nbsp; Use
the following call in each schema to reset the data to a specific point-in-time<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">--&nbsp; EXEC
Flashback_Schema_To_Timestamp( TO_DATE('18.03.2009 10:50','DD.MM.YYYY HH24:MI')
);<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">--<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">--
Restrictions:<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">--&nbsp; This
will not work on schemas, which include materialized views.<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">--&nbsp;
Truncating tables will make this functionality in-operable.<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">--&nbsp;
Using alter table or tablespace commands will also make this functionality
in-operable.<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB"><u3:p>&nbsp;</u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">-- Cursor
builds a list of execute immediate commands to enable row movement<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">CURSOR
c_cmd_move_enable is <u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; select
<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;
'alter table '||table_name||' enable row movement' <u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; from <u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;
user_tables <u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; where <u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;
temporary='N'<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; and<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;
row_movement='DISABLED';<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB"><u3:p>&nbsp;</u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">-- Cursor
builds a list of execute immediate commands to revoke previously enabled row
movement<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">CURSOR
c_cmd_move_disable is <u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; select
<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;
'alter table '||table_name||' disable row movement' <u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; from <u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;
user_tables <u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; where <u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;
temporary='N'<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; and<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;
row_movement='DISABLED';<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB"><u3:p>&nbsp;</u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">-- Get a list
of tables in the current schema<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">CURSOR
c_cmd_flashback_list is <u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; select
<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;
table_name <u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; from <u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p><p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;
user_tables <u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; where <u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB"></span><p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;
temporary='N'</span></p>
<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; and<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;
table_name not in (select mview_name from user_mviews)</span></p>
<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; Order
By <u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;
table_name;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; <u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">v_cmd
varchar2(250 char);<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">v_cmd_flashback
varchar2(32000 char) := 'flashback table ';<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">v_flashback_date
date;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">v_table_cnt
number := 0;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">v_reset_enable
:= 0;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB"><u3:p>&nbsp;</u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">Begin<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
/* Default flashback by 1 hour */<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; if
p_flashback2date is NULL<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; then<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;
v_flashback_date := sysdate - (1/24); /* flashback 1 hour */<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; else<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;
v_flashback_date := p_flashback2date;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; end if;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; <u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; Open
c_cmd_move_enable;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; Open
c_cmd_move_disable;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; Open c_cmd_flashback_list;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB"><u3:p>&nbsp;</u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; /* All
tables must have row movement allowed! */<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; loop<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;
FETCH c_cmd_move_enable into v_cmd;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;
EXIT WHEN c_cmd_move_enable%NOTFOUND;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">--&nbsp;
dbms_output.put_line( 'EXECUTE IMMEDIATE ' || v_cmd );<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;
&nbsp;EXECUTE IMMEDIATE v_cmd;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;
v_reset_enable := 1;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; end
loop; <u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; <u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; /* Get
a list of tables in this schema */<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; /* in
a comma separated list with 6 names per line */<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; loop<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;
FETCH c_cmd_flashback_list into v_cmd;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;
EXIT WHEN c_cmd_flashback_list%NOTFOUND;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;
<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;
if v_table_cnt &gt; 0<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;
then<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
v_cmd_flashback := v_cmd_flashback || ', ' || v_cmd;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
if mod(v_table_cnt,6) = 0<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
then<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
v_cmd_flashback := v_cmd_flashback || chr(13);<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
end if;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;
else<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
v_cmd_flashback := v_cmd_flashback || v_cmd; -- first table doesn't need a comma<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;
end if;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;
<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;
v_table_cnt := v_table_cnt + 1;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; end
loop; <u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;
v_cmd_flashback := v_cmd_flashback || ' TO TIMESTAMP :1';<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; /* Flashback
all tables in one transaction */<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">--dbms_output.put_line(
'EXECUTE IMMEDIATE ' || v_cmd_flashback || ' using parameter ' ||
to_char(v_flashback_date, 'DD.MM.YYYY HH24:MI') );<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;
EXECUTE IMMEDIATE v_cmd_flashback using v_flashback_date;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; <u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; /*
restore row movement to all tables which previously had row movement allowed */<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; loop<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;
FETCH c_cmd_move_disable into v_cmd;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;
EXIT WHEN c_cmd_move_disable%NOTFOUND;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;
v_reset_enable := 0;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">--&nbsp;
dbms_output.put_line( 'EXECUTE IMMEDIATE ' || v_cmd );<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;
EXECUTE IMMEDIATE v_cmd;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; end
loop; <u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; <u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; Close
c_cmd_flashback_list;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; Close
c_cmd_move_disable;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp; Close
c_cmd_move_enable;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB"><u3:p>&nbsp;</u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">EXCEPTION<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;
WHEN OTHERS THEN<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
IF c_cmd_flashback_list%ISOPEN<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
THEN<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
CLOSE c_cmd_flashback_list;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
END IF;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
IF c_cmd_move_disable%ISOPEN<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
THEN<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
CLOSE c_cmd_move_disable;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
END IF;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
IF c_cmd_move_enable%ISOPEN<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
THEN<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
IF v_reset_enable = 1<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
THEN<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
/* restore row movement to all tables which previously had row movement allowed
*/<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
loop<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
FETCH c_cmd_move_disable into v_cmd;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
EXIT WHEN c_cmd_move_disable%NOTFOUND;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">--&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
dbms_output.put_line( 'EXECUTE IMMEDIATE ' || v_cmd );<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
EXECUTE IMMEDIATE v_cmd;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
end loop; <u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
END IF;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
CLOSE c_cmd_move_enable;<u3:p></u3:p></span><span style="" lang="EN-GB"><o:p></o:p></span></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
END IF;<u3:p></u3:p></span><o:p></o:p></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
RAISE;<u3:p></u3:p></span><o:p></o:p></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">End;<u3:p></u3:p></span><o:p></o:p></p>

<p class="MsoNormal" style="background: rgb(204, 255, 204) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB">/</span><o:p></o:p></p><p class="MsoNormal"><span style="font-size: 8pt; font-family: Tunga;" lang="EN-GB"><o:p></o:p></span></p>]]>
        <![CDATA[<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 11"><meta name="Originator" content="Microsoft Word 11"><link rel="File-List" href="file:///C:%5CDOKUME%7E1%5Cplewin%5CLOKALE%7E1%5CTemp%5Cmsohtml1%5C09%5Cclip_filelist.xml"><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:View>Normal</w:View>
  <w:Zoom>0</w:Zoom>
  <w:HyphenationZone>21</w:HyphenationZone>
  <w:PunctuationKerning/>
  <w:ValidateAgainstSchemas/>
  <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
  <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
   <w:DontGrowAutofit/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:LatentStyles DefLockedState="false" LatentStyleCount="156">
 </w:LatentStyles>
</xml><![endif]--><style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0cm;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
@page Section1
	{size:612.0pt 792.0pt;
	margin:70.85pt 70.85pt 2.0cm 70.85pt;
	mso-header-margin:36.0pt;
	mso-footer-margin:36.0pt;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
-->
</style><!--[if gte mso 10]>
<style>
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Normale Tabelle";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
	mso-para-margin:0cm;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";
	mso-ansi-language:#0400;
	mso-fareast-language:#0400;
	mso-bidi-language:#0400;}
</style>
<![endif]--><span style="font-size: 9.5pt; font-family: Arial;" lang="EN-GB"><i>Notes: </i><br />All three cursors are
opened right at the beginning so that the changing characteristics of the
schema don't affect what needs to be done. The Alter row movement commands are
executed for each table individually where as the flashback is done in a single
statement. In the exception handling, all cursors are closed and if the row
movement was enabled an attempt is made to re-establish non-row-movement.<br style="" />
<!--[if !supportLineBreakNewLine]--><br style="" />
<!--[endif]--></span><u1:p></u1:p><u3:p></u3:p>]]>
    </content>
</entry>

<entry>
    <title>Oracle Flashback Table/Transaction/Query/Version Restrictions in 10g</title>
    <link rel="alternate" type="text/html" href="http://www.lewin-planet.net/oranews/2009/03/oracle-flashback-table-transaction-query-version-restrictions-in-10g.html" />
    <id>tag:www.lewin-planet.net,2009:/oranews//1.107</id>

    <published>2009-03-17T11:38:06Z</published>
    <updated>2009-03-17T12:13:19Z</updated>

    <summary>When using Oracle 10g features around the flashback technology it&apos;s important to know the differences between the individual options and their respective restrictions. The Flashback Table, Flashback Query, Flashback Transaction Query and Flashback Version Query are all based on undo...</summary>
    <author>
        <name>Paul Lewin</name>
        
    </author>
    
        <category term="Administration" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Oracle 10g" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="flashback" label="Flashback" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.lewin-planet.net/oranews/">
        <![CDATA[<p>When using Oracle 10g features around the flashback technology it's important to know the differences between the individual options and their respective restrictions. The <strong>Flashback Table</strong>, <strong>Flashback Query</strong>, <strong>Flashback Transaction Query </strong>and <strong>Flashback Version Query </strong>are all based on <strong>undo </strong>(or <strong>rollback</strong>) data option, which primarily provides read consistency and rolling back transactions in Oracle 10g.&nbsp;However, <strong>Flashback Database </strong>is based on <strong>before images</strong> in the flashback logs and <strong>Flashback Drop </strong>is based on another 10g feature called the <strong>Recycle Bin</strong>, which is there to manage dropped database objects until their space is required to store new data. </p>
<p>Oracle Metalink has some very useful documents relating to these features:</p>
<ul>
<li><em>Note 249319.1 - Configure flashback database</em></li>
<li><em>Note 270060.1 - Use Flashback Table Feature and Resolve errors</em></li>
<li><em>Note 270535.1 - Restrictions on Flashback Table Feature</em></li>
<li><em>Note 317499.1 - 10G Oracle Flashback Transaction Query - Introduction and usage</em></li>
<li><em>Note 369755.1 - Flashback Logs-Space management</em></li>
<li><em>Note:435998.1 - What Do All 10g Flashback Features Rely on and what are their Limitations</em><br /></li></ul>
<p>&nbsp;</p>
<p>&nbsp;</p>]]>
        
    </content>
</entry>

<entry>
    <title>Oracle 11g gets case-sensitive passwords</title>
    <link rel="alternate" type="text/html" href="http://www.lewin-planet.net/oranews/2009/03/oracle-11g-gets-case-sensitive-passwords.html" />
    <id>tag:www.lewin-planet.net,2009:/oranews//1.106</id>

    <published>2009-03-16T13:16:44Z</published>
    <updated>2009-03-17T12:26:05Z</updated>

    <summary><![CDATA[Finally with Oracle Release 11g&nbsp;we get case sensitive passwords on user accounts. What sounds so simple and normal has taken decades to arrive in the functionality list of Oracles RDBMS. For those who never expected Oracle to jump that gap,...]]></summary>
    <author>
        <name>Paul Lewin</name>
        
    </author>
    
        <category term="Oracle 11g" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="news" label="News" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.lewin-planet.net/oranews/">
        <![CDATA[<p class="MsoNormal" style="MARGIN: 0cm 0cm 10pt"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: #333333; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">Finally with Oracle Release 11g&nbsp;we get case sensitive passwords on user accounts. What sounds so simple and normal has taken decades to arrive in the functionality list of Oracles RDBMS. For those who never expected Oracle to jump that gap, there is a compatibility mode, which allows you to use password naming conventions compatible with previous versions ie. non-case-sensitive. As usual major changes don't have to be adopted immediately.</span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 10pt"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: #333333; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">Note: Even if a major change is more of a major impact than anything else. ;-)</span></p>]]>
        
    </content>
</entry>

<entry>
    <title>Comparing Oracle Database Features</title>
    <link rel="alternate" type="text/html" href="http://www.lewin-planet.net/oranews/2009/02/comparing-oracle-database-features.html" />
    <id>tag:www.lewin-planet.net,2009:/oranews//1.105</id>

    <published>2009-02-18T10:05:06Z</published>
    <updated>2009-02-18T10:24:49Z</updated>

    <summary>If you are trying to track down a problem that only occurs on one system, say between a production system and am integration system, you want to be sure your systems can behave identically before you get into any application...</summary>
    <author>
        <name>Paul Lewin</name>
        
    </author>
    
        <category term="Administration" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="em" label="EM" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.lewin-planet.net/oranews/">
        <![CDATA[If you are trying to track down a problem that only occurs on one system, say between a production system and am integration system, you want to be sure your systems can behave identically before you get into any application analysis work. You can check the basic system configuration with the host operating system diagnosis tools but what about the databases?<br /><br />Oracle Enterprise Manager has a neat facility for helping with the database comparison. Using the "<b>Deployments</b>" register simple perform a "<b>Compare Database Configuration</b>" specifying the database instances you want to verify. Take a look at the <a href="http://download-west.oracle.com/docs/cd/B16240_01/doc/user.102/b28678/config.htm">Oracle 10.2 online documentation</a> for details. ]]>
        
    </content>
</entry>

<entry>
    <title>OWB 10.2.0.4 Windows Client download from Metalink</title>
    <link rel="alternate" type="text/html" href="http://www.lewin-planet.net/oranews/2009/02/owb-10204-windows-client-download-from-metalink.html" />
    <id>tag:www.lewin-planet.net,2009:/oranews//1.104</id>

    <published>2009-02-17T16:55:23Z</published>
    <updated>2009-02-17T17:05:39Z</updated>

    <summary>Back in September Oracle released the 10.2.0.4 version of Oracle Warehouse Builder for Windows and other platforms. If you go looking for the client download, don&apos;t look for a Windows XP client just head directly for the patch on metalink...</summary>
    <author>
        <name>Paul Lewin</name>
        
    </author>
    
        <category term="Data Warehousing" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Development" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="owb" label="OWB" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.lewin-planet.net/oranews/">
        <![CDATA[<p>Back in September Oracle released the <strong>10.2.0.4</strong> version of Oracle Warehouse Builder for Windows and other platforms. If you go looking for the client download, don't look for a Windows XP client just head directly for the patch on metalink (https://metalink.oracle.com/). The patch-id is <strong>7005587</strong> and you will need the 32 bit client for windows.</p>
<p>Further details are <a href="http://blogs.oracle.com/warehousebuilder/2008/09/owb_10204_ports_are_released.html">here</a> on the Oracle OWB blog.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Installing or re-installing JVM under 10g</title>
    <link rel="alternate" type="text/html" href="http://www.lewin-planet.net/oranews/2009/01/installing-or-re-installing-jvm-under-10g.html" />
    <id>tag:www.lewin-planet.net,2009:/oranews//1.103</id>

    <published>2009-01-26T14:09:05Z</published>
    <updated>2009-01-26T14:52:55Z</updated>

    <summary>If you already have a 10g database setup and running without the JVM (Java Virtual Machine) installed and later descide you want to add say OWB (Oracle Warehouse Builder) to you instance then you need to get JVM working first....</summary>
    <author>
        <name>Paul Lewin</name>
        
    </author>
    
        <category term="Administration" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Data Warehousing" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Java" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="java" label="Java" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="owb" label="OWB" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.lewin-planet.net/oranews/">
        <![CDATA[If you already have a 10g database setup and running without the JVM (Java Virtual Machine) installed and later descide you want to add say OWB (Oracle Warehouse Builder) to you instance then you need to get JVM working first. It's not that complicated realy but follow these steps laid out in <a href="https://metalink.oracle.com/CSP/ui/flash.html#tab=KBHome%28page=KBHome&amp;id=%28%29%29,%28page=KBNavigator&amp;id=%28bmDocID=276554.1&amp;viewingMode=1143&amp;bmDocType=REFERENCE&amp;bmDocDsrc=KB&amp;bmDocTitle=How%20to%20Reload%20the%20JVM%20in%2010.1.0.X%20and%2010.2.0.X&amp;from=BOOKMARK%29%29">Metalink</a> (Doc-ID:<strong>276554.1)</strong> if you want to get it right <b>first </b>time.<br />]]>
        
    </content>
</entry>

<entry>
    <title>Oracle tuning without the Enterprise Manager</title>
    <link rel="alternate" type="text/html" href="http://www.lewin-planet.net/oranews/2009/01/oracle-tuning-without-the-enterprise-manager-using-excel.html" />
    <id>tag:www.lewin-planet.net,2009:/oranews//1.102</id>

    <published>2009-01-21T15:43:02Z</published>
    <updated>2009-01-21T16:01:28Z</updated>

    <summary>A friend pointed me at this interesting blog (The Go-Faster Oracle Blog), which has some useful links to performance tools. Analyzing an Oracle database without having the Enterprise Manager either installed or maybe not available to you can be a...</summary>
    <author>
        <name>Paul Lewin</name>
        
    </author>
    
        <category term="Performance" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="performance" label="Performance" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="tuning" label="Tuning" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.lewin-planet.net/oranews/">
        <![CDATA[A friend pointed me at this interesting <a href="http://blog.go-faster.co.uk/">blog</a> (<em>The Go-Faster Oracle Blog</em>), which has some useful links to performance tools. Analyzing an Oracle database without having the Enterprise Manager either installed or maybe not available to you can be a nightmare. He has developed some Excel sheets, which access the AWR data and output graphics and more&amp;nbsp;right down to&amp;nbsp;individual session analysis. Very useful tool-set, so take a <a href="http://www.go-faster.co.uk/scripts.htm#awr_wait.xls">look</a>.]]>
        
    </content>
</entry>

<entry>
    <title>ORA-02065 using remote_login_passwordfile=EXCLUSIVE</title>
    <link rel="alternate" type="text/html" href="http://www.lewin-planet.net/oranews/2009/01/ora-02065-using-remote-login-passwordfileexclusive.html" />
    <id>tag:www.lewin-planet.net,2009:/oranews//1.100</id>

    <published>2009-01-07T12:49:39Z</published>
    <updated>2009-01-26T10:26:06Z</updated>

    <summary>If you are trying to setup an Oracle instance for running OWB then you will need to set the remote_login_passwordfile to EXCLUSIVE in order for that to work. Using SQLPLUS connect to the instance and change the setting like this:...</summary>
    <author>
        <name>Paul Lewin</name>
        
    </author>
    
        <category term="Administration" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="owb" label="OWB" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.lewin-planet.net/oranews/">
        <![CDATA[If you are trying to setup an Oracle instance for running OWB then you will need to set the remote_login_passwordfile to EXCLUSIVE in order for that to work. Using SQLPLUS connect to the instance and change the setting like this:<br /><br />
<blockquote>&gt; sqlplus /nolog<br /><br />SQL&gt; connect / as sysdba<br /><br />SQL&gt; alter system set remote_login_passwordfile=EXCLUSIVE scope=spfile;<br /></blockquote>
<p><br />that should do the trick although you will need to bounce the instance before it will take effect.</p>
<p>You may also need to re-generate the sys password file like this:</p>
<p>SQL&gt; orapwd file=orapwinst password=pwd123 force=y<br /></p>]]>
        
    </content>
</entry>

<entry>
    <title>Oracle 11g Optimizer Contribution at the DOAG (What&apos;s new)</title>
    <link rel="alternate" type="text/html" href="http://www.lewin-planet.net/oranews/2008/12/oracle-11g-optimizer-contribution-at-the-doag-whats-new.html" />
    <id>tag:www.lewin-planet.net,2008:/oranews//1.99</id>

    <published>2008-12-17T08:40:36Z</published>
    <updated>2008-12-17T08:46:20Z</updated>

    <summary>Christian Antognini has made a number of presentations on the topic of Oracle&apos;s 11g Optimizer. He has posted his presentation and demo, which he last held at the DOAG Conference in Nürnberg, Germany. He also has a whole load of...</summary>
    <author>
        <name>Paul Lewin</name>
        
    </author>
    
        <category term="Performance" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="11g" label="11g" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="cbo" label="CBO" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="doag" label="DOAG" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="performance" label="Performance" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.lewin-planet.net/oranews/">
        <![CDATA[<cite><a href="http://antognini.ch/" rel="external nofollow">Christian 
Antognini</a></cite> has made a number of presentations on the topic of Oracle's 11g Optimizer. He has posted his <a href="http://antognini.ch/papers/OracleQueryOptimizer11g_20081202.zip">presentation and demo</a>, which he last held at the <a href="http://www.doag.org/">DOAG Conference</a> in Nürnberg, Germany. He also has a whole load of useful other <a href="http://antognini.ch/publications/">publications</a> available for viewing. ]]>
        
    </content>
</entry>

<entry>
    <title>Oracle Optimizer and default row counts</title>
    <link rel="alternate" type="text/html" href="http://www.lewin-planet.net/oranews/2008/11/oracle-optimizer-and-default-row-counts.html" />
    <id>tag:www.lewin-planet.net,2008:/oranews//1.94</id>

    <published>2008-11-26T13:54:44Z</published>
    <updated>2008-12-09T11:15:27Z</updated>

    <summary>This article is basically looking at using multiple values in bind variables but it strikes upon an interesting point regarding the CBO. There are situations where the optimizer assumes a value of 8168 rows simply as a good guess....</summary>
    <author>
        <name>Paul Lewin</name>
        
    </author>
    
        <category term="Performance" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="bindvariables" label="BindVariables" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="cbo" label="CBO" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="googlegroups" label="GoogleGroups" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="optimizer" label="Optimizer" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.lewin-planet.net/oranews/">
        <![CDATA[This article is basically looking at <a href="http://groups.google.com/group/comp.databases.oracle.server/browse_frm/thread/beb663941a84c095">using multiple values in bind variables</a> but it strikes upon an interesting point regarding the CBO. There are situations where the optimizer assumes a value of 8168 rows simply as a good guess. ]]>
        
    </content>
</entry>

<entry>
    <title>Up and running on version 4</title>
    <link rel="alternate" type="text/html" href="http://www.lewin-planet.net/oranews/2008/10/up-and-running-on-version-4.html" />
    <id>tag:www.lewin-planet.net,2008:/oranews//1.2</id>

    <published>2008-10-13T11:04:41Z</published>
    <updated>2008-10-13T11:06:00Z</updated>

    <summary>I&apos;ve skipped a full version and gone straight for MT 4 - wow what a difference!...</summary>
    <author>
        <name>Paul Lewin</name>
        
    </author>
    
    <category term="news" label="News" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.lewin-planet.net/oranews/">
        <![CDATA[I've skipped a full version and gone straight for MT 4 - <b>wow </b>what a difference! ]]>
        
    </content>
</entry>

<entry>
    <title>OWB Repository Assistant Crashes</title>
    <link rel="alternate" type="text/html" href="http://www.lewin-planet.net/oranews/2008/09/owb-repository-assistant-crashes.html" />
    <id>tag:www.lewin-planet.net,2008:/oranews//1.93</id>

    <published>2008-09-02T10:32:33Z</published>
    <updated>2008-12-09T11:17:59Z</updated>

    <summary>Having now had this problem installing the Oracle Warehouse Builder with version 11g and 10g I though it deserved a mention here in my blog. If the Repository Assistant is just vanishing around 87 / 88% percent and you can...</summary>
    <author>
        <name>Paul Lewin</name>
        
    </author>
    
        <category term="Data Warehousing" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="10g" label="10g" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="11g" label="11g" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="owb" label="OWB" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="xml" label="XML" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.lewin-planet.net/oranews/">
        <![CDATA[<p>Having now had this problem installing the Oracle Warehouse Builder with version 11g and 10g I though it deserved a mention here in my blog. If the Repository Assistant is just vanishing around 87 / 88% percent and you can see a final entry of "I am in processLoadJavaToken" or under unix you may get a message from the assistent 'reposinst.sh' saying "Failures occurred during processing" this might be helpful to you.</p>

<p>What is going on is, that part of your xml code is corrupt in the database, but that is not apparent! All you need to do is go to your installation directory "ORACLE_HOME" and switch to rdbms/admin then de-install and re-install the xml code like this:</p>

<p>1. log in as sysdba ("export {SID}; sqlplus / as sysdba")<br />
2. enter "@$ORACLE_HOME/rdbms/admin/rmxml" and press enter. Wait for it to finish.<br />
3. enter "@$ORACLE_HOME/rdbms/admin/initxml" and press enter. Wait for it to finish.<br />
4. exit</p>

<p>After that remove any repositories before re-running the assistant. Also remove any roles installed by OWB.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Improvements to Oracle Optimizer</title>
    <link rel="alternate" type="text/html" href="http://www.lewin-planet.net/oranews/2008/07/improvements-to-oracle-optimizer.html" />
    <id>tag:www.lewin-planet.net,2008:/oranews//1.92</id>

    <published>2008-07-24T12:28:49Z</published>
    <updated>2008-11-15T19:42:00Z</updated>

    <summary>The Oracle Optimizer is continuously undergoing scrutiny and being tuned. In Oracle 10gR2 and version 11 some work has been done to improve the elimination of unneeded tables in joins. Although that might sound stupid to reference tables which are...</summary>
    <author>
        <name>Paul Lewin</name>
        
    </author>
    
        <category term="Oracle 10g" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://www.lewin-planet.net/oranews/">
        <![CDATA[<p>The Oracle Optimizer is continuously undergoing scrutiny and being tuned. In Oracle 10gR2 and version 11 some work has been done to improve the elimination of unneeded tables in joins. Although that might sound stupid to reference tables which are not required that is not as uncommon as you might think. Particularly in generated statements and views which select several tables, of which the user may only require data from one or two tables, this feature can have a great benefit.</p>

<p>The following <a href="http://optimizermagic.blogspot.com/2008/06/why-are-some-of-tables-in-my-query.html">article</a> goes into more detail of how this feature can benefit your environment and what limitations exist.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Added Google Search API</title>
    <link rel="alternate" type="text/html" href="http://www.lewin-planet.net/oranews/2008/05/added-google-search-api.html" />
    <id>tag:www.lewin-planet.net,2008:/oranews//1.91</id>

    <published>2008-05-29T13:01:24Z</published>
    <updated>2008-11-15T19:42:00Z</updated>

    <summary>Well it has taken me sometime to get around to it, but finally I&apos;ve added the Google WEB 2.0 Search API to this site. So now you can directly continue your search for anything Oracle specific or otherwise from here....</summary>
    <author>
        <name>Paul Lewin</name>
        
    </author>
    
        <category term="General interest" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://www.lewin-planet.net/oranews/">
        <![CDATA[<p>Well it has taken me sometime to get around to it, but finally I've added the <b>Google WEB 2.0 Search API </b>to this site. So now you can directly continue your search for anything Oracle specific or otherwise from here. As a default you get anything current in the way of Oracle news from other sites and blogs.</p>

<p>If you are interested in this facility supplied by Google then check out the <a href="http://code.google.com/apis/ajaxsearch/documentation/">documentation</a> on their website. There is nothing to install but you do have to register with Google by opening an account to get a site specific key but that is pretty painless.</p>]]>
        
    </content>
</entry>

</feed>

