Dbid,dbname

Hello
Are dbid and dbname stored in both controlfile, datafile and redologs ?

Scofield wrote:
Hello
Are dbid and dbname stored in both controlfile, datafile and redologs ?Well the answer is yes but I would suggest that one should think little bit deeply about it. If its not there in these files, how would they come to know for which db they are working?
HTH
Aman....

Similar Messages

  • Weird DBID, DBNAME in LIST INCARNATIONS COMMAND

    Hi folks!
    Sorry if this seems a silly question but I was wondering what could be responsible for the following list of incarnations of the target database in the recovery catalog
    ddbmgr $ rman target / catalog rman/*******@rman
    Recovery Manager: Release 10.2.0.2.0 - Production on Tue Feb 19 16:43:34 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: DEVE (DBID=2670823714)
    connected to recovery catalog database
    RMAN> list incarnation
    2> ;
    starting full resync of recovery catalog
    full resync complete
    List of Database Incarnations
    DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
    596841 596961 DEVE 2670823714 PARENT 4699260567 10-FEB-08
    596841 597239 FUNC 2670823714 ORPHAN 4700385404 12-FEB-08
    596841 596842 DEVE 2670823714 CURRENT 4700385404 12-FEB-08
    RMAN>
    my target database sid is 'DEVE'
    and my recovery catalog is 'RMAN' what could be responsible for me getting a db_name of FUNC (which is incidentally the name of another database on our systems but is not the target I connected to)
    I look forward to hearing pointers on how to investigate this issue.
    Thank you in advance
    J xx

    Hi,
    When you restored a controlfile from backup,it will list only copies or backup which were registered with this controlfeil,if you would like to catalog the backups in restored controlfile,you can use catalog command.
    Thanks

  • Change dbname

    Hello
    1-)If I change the dbname, I always have to open with resetlogs. (Therefore data in redolog may be lost)
    2-)Both dbid,dbname are stored in controlfile, datafile and redologs.
    Are these correct?

    two sets of SQL statements, each of which creates a new
    -- control file and uses it to open the database. The first set opens
    -- the database with the NORESETLOGS option and should be used only if
    -- the current versions of all online logs are available. The second
    -- set opens the database with the RESETLOGS option and should be used
    -- if online logs are unavailable.
    1-)If I change the dbname, I always have to open with resetlogs. (Therefore data in redolog may be lost)if you have online redo then you could just open database with first set of commands in "trace file" .. ie with noresetlogs with existing name.
    then do proper shutdown .. shut immediate;
    Then you can rename database with
    CREATE CONTROLFILE  set  DATABASE new_name
    ....now you can open with open with resetlogs
    regarding point 2) pass :)

  • XSL-1047: (Error) Invalid instantiation of 'xsl:output' in 'INSERT' context

    Following is my development environment:
    JDeveloper 9i Release Candidate
    JDeveloper JVM 1.3.1
    Oracle XML Parser v2 9.2.0.0.0
    I'm using the Oracle XML Parser V2 9.2.0.0.0 library to apply a stylesheet to an XML document. However when I invoke the call to processor.processXSL() an XSLException is thrown with the following details:
    oracle.xml.parser.v2.XSLException: <Line 1, Column 116>: XSL-1047: (Error) Invalid instantiation of 'xsl:output' in 'INSERT' context.
    exception
    Below is the sequence of events:
    // Create an instance of XSLProcessor to perform the transformation
    XSLProcessor processor = new XSLProcessor();
    // create a Reader from a String object that contains the stylesheet text
    StringReader r = new StringReader( stylesheet );
    // create a new XSL stylesheet, passing it the Reader object reference
    XSLStylesheet sheet = processor.newXSLStylesheet(r);
    // apply the stylesheet
    // the variable sheet represents the XSLStylesheet object
    // the variable source represents the XMLDocument object
    // this call throws the exception
    DocumentFragment df =
    processor.processXSL(sheet,source);
    I've included the Stylesheet and source XML file I'm processing below.
    Note: My application works fine when I use the Oracle XML Parser v2 9.0.1 library. (although I have to use new XSLStylesheet() in place of XSLProcessor.newXSLStylesheet())
    Any ideas on what has changed between the two releases? I do have a reproducible test case that I can send on if required?
    thanks in advance
    private String stylesheet =
    "<INSERT xsl:version=\"1.0\" xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\"> "+
    "<xsl:output method=\"xml\" indent=\"yes\"/> "+
    "<ROWSET table_name=\"acc_database\"> "+
    " <xsl:for-each select=\"DATABASES/DATABASE\"> "+
    " <ROW> "+
    " <DBID><xsl:value-of select=\"DBID\"/></DBID> "+
    " <DBNAME><xsl:value-of select=\"DBNAME\"/></DBNAME> "+
    " <DBSIZE><xsl:value-of select=\"DBSIZE\"/></DBSIZE> "+
    " <DBPATHNAME><xsl:value-of select=\"DBPATHNAME\"/></DBPATHNAME> "+
    " <DBUSER><xsl:value-of select=\"DBUSER\"/></DBUSER> "+
    " <DBPASSWORD><xsl:value-of select=\"DBPASSWORD\"/></DBPASSWORD> "+
    " <ISAPPDB><xsl:value-of select=\"ISAPPDB\"/></ISAPPDB> "+
    " <ISATTACHEDDB><xsl:value-of select=\"ISATTACHEDDB\"/></ISATTACHEDDB> "+
    " <CONVERTDB><xsl:value-of select=\"CONVERTDB\"/></CONVERTDB> "+
    " <VERSION><xsl:value-of select=\"VERSION\"/></VERSION> "+
    " </ROW> "+
    " </xsl:for-each> "+
    "</ROWSET> "+
    "</INSERT>";
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!-- this file was generated by the Oracle Migration Workbench Exporter for MS Access 9.2.0.1.0 on 13/02/02 15:16:52 -->
    <!-- Do not modify this file as any modification will invalidate the export and subsequent migration of your MS Access database -->
    <DATABASES>
    <DATABASE>
    <DBID>1</DBID>
    <DBNAME>xmltest</DBNAME>
    <DBSIZE>1</DBSIZE>
    <DBPATHNAME>E:\xmltest.mdb</DBPATHNAME>
    <DBUSER>xmltest</DBUSER>
    <DBPASSWORD>oracle</DBPASSWORD>
    <ISAPPDB>1</ISAPPDB>
    <ISATTACHEDDB>0</ISATTACHEDDB>
    <CONVERTDB>1</CONVERTDB>
    <VERSION>4.0</VERSION>
    <TABLES>
    <TABLE PRIMARY_KEY="1">
    <TBLID>1</TBLID>
    <DBID>1</DBID>
    <TBLNAME>xsu_test</TBLNAME>
    <CNVTABLESTRUCT>1</CNVTABLESTRUCT>
    <CNVMOVEDATA>1</CNVMOVEDATA>
    <CNVRI>1</CNVRI>
    <CNVVALIDATION>1</CNVVALIDATION>
    <CNVDEFAULT>1</CNVDEFAULT>
    <CNVADDTIMESTAMP>1</CNVADDTIMESTAMP>
    <ATTACHTABLEBACKTOACCESS>1</ATTACHTABLEBACKTOACCESS>
    <SAVEPASSWORD>0</SAVEPASSWORD>
    <CNVMAKEUPDATEABLE>1</CNVMAKEUPDATEABLE>
    <RETAINLOCALCOPY>0</RETAINLOCALCOPY>
    <SYNCWITHSERVER>1</SYNCWITHSERVER>
    <OWNERID>1</OWNERID>
    <VALIDATIONTEXT></VALIDATIONTEXT>
    <VALIDATIONRULE></VALIDATIONRULE>
    <NUMBEROFROWS>1</NUMBEROFROWS>
    <CACHINGTABLE>0</CACHINGTABLE>
    <DESCRIPTION></DESCRIPTION>
    <COLUMNS>
    <COLUMN>
    <COLID>1</COLID>
    <TBLID>1</TBLID>
    <COLNAME>id</COLNAME>
    <COLTYPE>4</COLTYPE>
    <COLTYPEDESC>Long</COLTYPEDESC>
    <COLAUTOINCR>1</COLAUTOINCR>
    <NEXTCOUNTERVALUE>0</NEXTCOUNTERVALUE>
    <MAXLENGTHSOURCE>0</MAXLENGTHSOURCE>
    <AVGLENGTHSOURCE>0</AVGLENGTHSOURCE>
    <COLTEXTSIZE>4</COLTEXTSIZE>
    <ALLOWZEROLENGTH>0</ALLOWZEROLENGTH>
    <DEFAULTVALUE></DEFAULTVALUE>
    <COLREQUIRED>1</COLREQUIRED>
    <COLCOLLATINGORDER>1033</COLCOLLATINGORDER>
    <COLORDPOSITION>1</COLORDPOSITION>
    <VALIDATIONRULE></VALIDATIONRULE>
    <VALIDATIONTEXT></VALIDATIONTEXT>
    <COLUMNDESCRIPTION></COLUMNDESCRIPTION>
    </COLUMN>
    <COLUMN>
    <COLID>2</COLID>
    <TBLID>1</TBLID>
    <COLNAME>name</COLNAME>
    <COLTYPE>10</COLTYPE>
    <COLTYPEDESC>Text</COLTYPEDESC>
    <COLAUTOINCR>0</COLAUTOINCR>
    <NEXTCOUNTERVALUE>0</NEXTCOUNTERVALUE>
    <MAXLENGTHSOURCE>0</MAXLENGTHSOURCE>
    <AVGLENGTHSOURCE>0</AVGLENGTHSOURCE>
    <COLTEXTSIZE>50</COLTEXTSIZE>
    <ALLOWZEROLENGTH>0</ALLOWZEROLENGTH>
    <DEFAULTVALUE></DEFAULTVALUE>
    <COLREQUIRED>1</COLREQUIRED>
    <COLCOLLATINGORDER>1033</COLCOLLATINGORDER>
    <COLORDPOSITION>2</COLORDPOSITION>
    <VALIDATIONRULE></VALIDATIONRULE>
    <VALIDATIONTEXT></VALIDATIONTEXT>
    <COLUMNDESCRIPTION></COLUMNDESCRIPTION>
    </COLUMN>
    </COLUMNS>
    <INDEXES>
    <INDEX>
    <INDID>1</INDID>
    <TBLID>1</TBLID>
    <DBID>1</DBID>
    <INDNAME>id</INDNAME>
    <CNVINDEX>1</CNVINDEX>
    <ISPRIMARY>0</ISPRIMARY>
    <ISUNIQUE>0</ISUNIQUE>
    <ISFOREIGN>0</ISFOREIGN>
    <IGNORENULLS>0</IGNORENULLS>
    <ISREQUIRED>0</ISREQUIRED>
    <INDEX_COLUMNS>
    <INDEX_COLUMN>
    <INDCOLID>1</INDCOLID>
    <INDID>1</INDID>
    <COLID>1</COLID>
    <COLORDER>1</COLORDER>
    </INDEX_COLUMN>
    </INDEX_COLUMNS>
    </INDEX>
    <INDEX>
    <INDID>2</INDID>
    <TBLID>1</TBLID>
    <DBID>1</DBID>
    <INDNAME>PK_xsu_test</INDNAME>
    <CNVINDEX>1</CNVINDEX>
    <ISPRIMARY>1</ISPRIMARY>
    <ISUNIQUE>1</ISUNIQUE>
    <ISFOREIGN>0</ISFOREIGN>
    <IGNORENULLS>0</IGNORENULLS>
    <ISREQUIRED>1</ISREQUIRED>
    <INDEX_COLUMNS>
    <INDEX_COLUMN>
    <INDCOLID>2</INDCOLID>
    <INDID>2</INDID>
    <COLID>1</COLID>
    <COLORDER>1</COLORDER>
    </INDEX_COLUMN>
    </INDEX_COLUMNS>
    </INDEX>
    </INDEXES>
    </TABLE>
    </TABLES>
    <RELATIONS>
    </RELATIONS>
    </DATABASE>
    <ATTACHED_TABLES>
    </ATTACHED_TABLES>
    </DATABASES>

    Your problem is that your stylesheet is illegal.
    You're using the "simple form" of the stylesheet which
    is equivalent to having a single root template.
    If you use the simple form, you cannot use: <xsl:include>,
    <xsl:import>, <xsl:output>, <xsl:param>
    or any other <xsl:XXX> element which must be at the "top-level"
    of the stylesheet.
    The solution is to change from:
    <INPUT xsl:version="1.0" xmlns:xsl="...">
       <xsl:output>
    </INPUT>.
    which is illegal to:
      <xsl:stylesheet version="1.0" xmlns:xsl="...">
        <xsl:output>
        <xsl:template match="/">
          <INPUT>
          </INPUT>
        </xsl:template>
      </xsl:stylesheet>

  • Migration (import) of simple Access table+screen to Apex is failing

    Hi,
    I have tried Exporting and then migrating an Access application - but have had repeated failures on the import step. These attempts are on the Oracle Application Express environment for evaluating Apex - I have a Workspace allocation (wsmihail1) on the Oracle database ( my schema is DBS1). User id is [email protected]
    Now, I have tried creating a Real simple Access application - 1 simple table & 1 form & 1 comand button !!
    Still crash::
    In APEX Create Migration Project screen / step :::::
    - try to Import db2.sql ....
    KEEP getting ::
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ERR-1021 Unable to run "function body returning boolean" validation.
    FYI::::
    THE db2.sql file is copied to here:::
    REM This SQL script was generated by the Oracle Migration Workbench
    REM Exporter for Microsoft Access on 19/10/2007 17:02:59
    REM Release: 10.2.0.2.0
    REM Version: Microsoft Access 2002
    REM Do not modify this file as any modification will invalidate the export
    REM and subsequent migration of your Microsoft Access database
    set define off
    set verify off
    set serveroutput on size 1000000
    set feedback off
    WHENEVER SQLERROR EXIT SQL.SQLCODE ROLLBACK
    begin
    WWV_MIG_ACC_LOAD.INS_WWV_MIG_ACCESS (
         p_dbid => 1,
         p_dbname => 'db2',
         p_dbsize => '176KB',
         p_dbpathname => 'C:\db2.mdb',
         p_dbuser => 'db2',
         p_dbpassword => ' ',
         p_isappdb => 1,
         p_isattacheddb => 0,
         p_convertdb => 1,
         p_jetversion => 4.0,
         p_accessversion => 'MS Access 2000',
         p_build => 501,
         p_collatingorder => 1033,
         p_querytimeout => 60,
         p_startupform => NULL,
         p_startupshowstatusbar => 1
    end;
    begin
    WWV_MIG_ACC_LOAD.INS_WWV_MIG_ACC_TABLES (
         p_dbid => 1,
         p_tblid => 1,
         p_tblname => 'Table1',
         p_primarykey => 1,
         p_cnvtablestruct => 1,
         p_cnvmovedata => 1,
         p_cnvri => 1,
         p_cnvvalidation => 1,
         p_cnvdefault => 1,
         p_cnvaddtimestamp => 1,
         p_attachtablebacktoaccess => 1,
         p_savepassword => 0,
         p_cnvmakeupdateable => 1,
         p_retainlocalcopy => 0,
         p_syncwithserver => 1,
         p_ownerid => 1,
         p_validationtext => ' ',
         p_validationrule => ' ',
         p_numberofrows => 4,
         p_cachingtable => 0,
         p_description => ' ',
         p_attributes => 0,
         p_conflicttable => NULL,
         p_datecreated => '20071019164930',
         p_lastupdated => '20071019164934',
         p_recordcount => 4,
         p_orderbyon => 1,
         p_replicafilter => NULL,
         p_sourcetablename => ' ',
         p_updatable => 0
    end;
    begin
    WWV_MIG_ACC_LOAD.INS_WWV_MIG_ACC_COLUMNS (
         p_dbid => 1,
         p_colid => 1,
         p_tblid => 1,
         p_colname => 'ID',
         p_coltype => 4,
         p_coltypedesc => 'Long',
         p_colautoincr => 0,
         p_nextcountervalue => 0,
         p_maxlengthsource => 0,
         p_avglengthsource => 0,
         p_coltextsize => 4,
         p_allowzerolength => 0,
         p_defaultvalue => '0',
         p_colrequired => 1,
         p_colcollatingorder => 1033,
         p_colordposition => 1,
         p_validationrule => ' ',
         p_validationtext => ' ',
         p_columndescription => ' ',
         p_columnhidden => 1,
         p_columnorder => 0,
         p_columnwidth => '-1',
         p_decimalplaces => 255,
         p_foreignname => ' ',
         p_validateonset => 1
    end;
    begin
    WWV_MIG_ACC_LOAD.INS_WWV_MIG_ACC_COLUMNS (
         p_dbid => 1,
         p_colid => 2,
         p_tblid => 1,
         p_colname => 'Desc',
         p_coltype => 10,
         p_coltypedesc => 'Text',
         p_colautoincr => 0,
         p_nextcountervalue => 0,
         p_maxlengthsource => 0,
         p_avglengthsource => 0,
         p_coltextsize => 50,
         p_allowzerolength => -1,
         p_defaultvalue => ' ',
         p_colrequired => 1,
         p_colcollatingorder => 1033,
         p_colordposition => 2,
         p_validationrule => ' ',
         p_validationtext => ' ',
         p_columndescription => ' ',
         p_columnhidden => 1,
         p_columnorder => 0,
         p_columnwidth => '-1',
         p_decimalplaces => 0,
         p_foreignname => ' ',
         p_validateonset => 1
    end;
    begin
    WWV_MIG_ACC_LOAD.INS_WWV_MIG_ACC_INDEXES (
         p_dbid => 1,
         p_indid => 1,
         p_tblid => 1,
         p_indname => 'ID',
         p_cnvindex => 1,
         p_isprimary => 0,
         p_isunique => 0,
         p_isforeign => 0,
         p_ignorenulls => 0,
         p_isrequired => 0,
         p_distinctcount => 4,
         p_isclustered => 0
    end;
    begin
    WWV_MIG_ACC_LOAD.INS_WWV_MIG_ACC_IDX_COLS (
         p_dbid => 1,
         p_indcolid => 1,
         p_indid => 1,
         p_colid => 1,
         p_colorder => 1,
         p_tblid => 1,
         p_colname => 'ID'
    end;
    begin
    WWV_MIG_ACC_LOAD.INS_WWV_MIG_ACC_INDEXES (
         p_dbid => 1,
         p_indid => 2,
         p_tblid => 1,
         p_indname => 'PK_Table1',
         p_cnvindex => 1,
         p_isprimary => 1,
         p_isunique => 1,
         p_isforeign => 0,
         p_ignorenulls => 0,
         p_isrequired => 1,
         p_distinctcount => 4,
         p_isclustered => 0
    end;
    begin
    WWV_MIG_ACC_LOAD.INS_WWV_MIG_ACC_IDX_COLS (
         p_dbid => 1,
         p_indcolid => 2,
         p_indid => 2,
         p_colid => 1,
         p_colorder => 1,
         p_tblid => 1,
         p_colname => 'ID'
    end;
    begin
    WWV_MIG_ACC_LOAD.INS_WWV_MIG_ACC_TAB_PERM (
         p_dbid => 1,
         p_tblid => 1,
         p_userid => 1,
         p_permissionid => 1,
         p_permission => 1048319,
         p_permission_desc => ' DB_SEC_CREATE DB_SEC_FULLACCESS DB_SEC_DELETE DB_SEC_READSEC DB_SEC_WRITESEC DB_SEC_WRITEOWNER DB_SEC_FRMRPT_READDEF DB_SEC_FRMRPT_WRITEDEF DB_SEC_MAC_READDEF DB_SEC_MAC_WRITEDEF DB_SEC_MAC_EXECUTE DB_SEC_MOD_READDEF DB_SEC_MOD_WRITEDEF '
    end;
    begin
    WWV_MIG_ACC_LOAD.INS_WWV_MIG_ACC_FORMS (
         p_dbid => 1,
         p_formid => 1,
         p_formname => 'MyForm',
         p_afterdelconfirm => ' ',
         p_afterinsert => ' ',
         p_afterupdate => ' ',
         p_allowadditions => 0,
         p_allowdeletions => 0,
         p_allowedits => 0,
         p_allowediting => 0,
         p_allowfilters => 0,
         p_allowupdating => 1,
         p_autocenter => 0,
         p_autoresize => 0,
         p_backcolor => -2147483633,
         p_beforedelconfirm => ' ',
         p_beforeinsert => ' ',
         p_beforeupdate => ' ',
         p_borderstyle => 2,
         p_formcaption => 'MyForm',
         p_closebutton => 0,
         p_controlbox => 0,
         p_count => 5,
         p_currentview => 0,
         p_cycle => 0,
         p_dataentry => 1,
         p_datasheetbackcolor => 16777215,
         p_datasheetcellseffect => 0,
         p_datasheetfontheight => 10,
         p_datasheetfontitalic => 1,
         p_datasheetfontname => 'Arial',
         p_datasheetfontunderline => 1,
         p_datasheetfontweight => 400,
         p_datasheetforecolor => 0,
         p_datasheetgridlinesbehavior => 3,
         p_datasheetgridlinescolor => 12632256,
         p_defaultediting => 2,
         p_defaultview => 0,
         p_dividinglines => 0,
         p_fastlaserprinting => 0,
         p_filter => ' ',
         p_filteron => 1,
         p_frozencolumns => 1,
         p_gridX => 10,
         p_gridY => 10,
         p_hasmodule => 0,
         p_helpcontextid => 0,
         p_helpfile => ' ',
         p_hwnd => 590738,
         p_insideheight => 2265,
         p_insidewidth => 5490,
         p_keypreview => 1,
         p_layoutforprint => 1,
         p_logicalpagewidth => 9012,
         p_maxbutton => 0,
         p_menubar => ' ',
         p_minbutton => 0,
         p_minmaxbuttons => 3,
         p_modal => 1,
         p_navigationbuttons => 0,
         p_onactivate => ' ',
         p_onapplyfilter => ' ',
         p_onclick => ' ',
         p_onclose => ' ',
         p_oncurrent => ' ',
         p_ondblclick => ' ',
         p_ondeactivate => ' ',
         p_ondelete => ' ',
         p_onerror => ' ',
         p_onfilter => ' ',
         p_ongotfocus => ' ',
         p_onkeydown => ' ',
         p_onkeypress => ' ',
         p_onkeyup => ' ',
         p_onload => ' ',
         p_onlostfocus => ' ',
         p_onmousedown => ' ',
         p_onmousemove => ' ',
         p_onmouseup => ' ',
         p_onopen => ' ',
         p_onresize => ' ',
         p_ontimer => ' ',
         p_onunload => ' ',
         p_openargs => 'True',
         p_orderby => ' ',
         p_orderbyon => 1,
         p_painting => 0,
         p_palettesource => '(Default)',
         p_picture => '(NONE)',
         p_picturealignment => 2,
         p_picturesizemode => 0,
         p_picturetiling => 1,
         p_picturetype => 0,
         p_popup => 1,
         p_recordlocks => 0,
         p_recordselectors => 0,
         p_recordsettype => 0,
         p_recordsource => 'Table1',
         p_rowheight => -1,
         p_scrollbars => 3,
         p_shortcutmenu => 0,
         p_shortcutmenubar => ' ',
         p_showgrid => 0,
         p_tag => ' ',
         p_timerinterval => 0,
         p_toolbar => ' ',
         p_viewsallowed => 0,
         p_visible => 0,
         p_whatsthisbutton => 1,
         p_width => 4044,
         p_windowheight => 2970,
         p_windowwidth => 5910
    end;
    begin
    WWV_MIG_ACC_LOAD.INS_WWV_MIG_ACC_FORMS_CONTROLS (
         p_dbid => 1,
         p_formid => 1,
         p_controlid => 1,
         p_controlname => 'ID',
         p_controltype => 109,
         p_eventprocprefix => 'ID',
         p_inselection => 1,
         p_left => 1677,
         p_parent => 'MyForm',
         p_section => 0,
         p_tag => ' ',
         p_top => 114,
         p_visible => 0,
         p_backcolor => -2147483643,
         p_backstyle => 1,
         p_boundcolumn => NULL,
         p_ctrlcaption => ' ',
         p_columncount => NULL,
         p_columnheads => ' ',
         p_columnwidths => ' ',
         p_controlsource => 'ID',
         p_controltiptext => ' ',
         p_defaultvalue => ' ',
         p_displaywhen => 0,
         p_enabled => 0,
         p_fontbold => 1,
         p_fontitalic => 1,
         p_fontname => 'MS Sans Serif',
         p_fontsize => 8,
         p_fontunderline => 1,
         p_fontwheight => NULL,
         p_forecolor => -2147483640,
         p_format => ' ',
         p_height => 255,
         p_helpcontextid => 0,
         p_limittolist => 1,
         p_linkchildfields => ' ',
         p_linkmasterfields => ' ',
         p_listrows => NULL,
         p_multirow => 1,
         p_onchange => ' ',
         p_onclick => ' ',
         p_ondblclick => ' ',
         p_onkeydown => ' ',
         p_onkeypress => ' ',
         p_onkeyup => ' ',
         p_onmousedown => ' ',
         p_onmousemove => ' ',
         p_onmouseup => ' ',
         p_optionvalue => NULL,
         p_pageindex => NULL,
         p_picture => ' ',
         p_picturealignment => NULL,
         p_pictureresizemode => NULL,
         p_picturetiling => 1,
         p_picturetype => NULL,
         p_rowsource => ' ',
         p_rowsourcetype => ' ',
         p_shortcutmenubar => ' ',
         p_sourceobject => ' ',
         p_statusbartext => ' ',
         p_style => NULL,
         p_tabfixedheight => NULL,
         p_tabfixedwidth => NULL,
         p_tabindex => 0,
         p_tabstop => 0,
         p_textalign => 0,
         p_textfontcharset => 0,
         p_width => 900
    end;
    begin
    WWV_MIG_ACC_LOAD.INS_WWV_MIG_ACC_FORMS_CONTROLS (
         p_dbid => 1,
         p_formid => 1,
         p_controlid => 2,
         p_controlname => 'ID_Label',
         p_controltype => 100,
         p_eventprocprefix => 'ID_Label',
         p_inselection => 1,
         p_left => 57,
         p_parent => 'ID',
         p_section => 0,
         p_tag => ' ',
         p_top => 114,
         p_visible => 0,
         p_backcolor => -2147483633,
         p_backstyle => 0,
         p_boundcolumn => NULL,
         p_ctrlcaption => 'ID',
         p_columncount => NULL,
         p_columnheads => ' ',
         p_columnwidths => ' ',
         p_controlsource => ' ',
         p_controltiptext => ' ',
         p_defaultvalue => ' ',
         p_displaywhen => 0,
         p_enabled => 1,
         p_fontbold => 1,
         p_fontitalic => 1,
         p_fontname => 'MS Sans Serif',
         p_fontsize => 8,
         p_fontunderline => 1,
         p_fontwheight => NULL,
         p_forecolor => -2147483630,
         p_format => ' ',
         p_height => 255,
         p_helpcontextid => 0,
         p_limittolist => 1,
         p_linkchildfields => ' ',
         p_linkmasterfields => ' ',
         p_listrows => NULL,
         p_multirow => 1,
         p_onchange => ' ',
         p_onclick => ' ',
         p_ondblclick => ' ',
         p_onkeydown => ' ',
         p_onkeypress => ' ',
         p_onkeyup => ' ',
         p_onmousedown => ' ',
         p_onmousemove => ' ',
         p_onmouseup => ' ',
         p_optionvalue => NULL,
         p_pageindex => NULL,
         p_picture => ' ',
         p_picturealignment => NULL,
         p_pictureresizemode => NULL,
         p_picturetiling => 1,
         p_picturetype => NULL,
         p_rowsource => ' ',
         p_rowsourcetype => ' ',
         p_shortcutmenubar => ' ',
         p_sourceobject => ' ',
         p_statusbartext => ' ',
         p_style => NULL,
         p_tabfixedheight => NULL,
         p_tabfixedwidth => NULL,
         p_tabindex => NULL,
         p_tabstop => 1,
         p_textalign => 0,
         p_textfontcharset => 0,
         p_width => 1560
    end;
    begin
    WWV_MIG_ACC_LOAD.INS_WWV_MIG_ACC_FORMS_CONTROLS (
         p_dbid => 1,
         p_formid => 1,
         p_controlid => 3,
         p_controlname => 'Desc',
         p_controltype => 109,
         p_eventprocprefix => 'Desc',
         p_inselection => 1,
         p_left => 1677,
         p_parent => 'MyForm',
         p_section => 0,
         p_tag => ' ',
         p_top => 456,
         p_visible => 0,
         p_backcolor => -2147483643,
         p_backstyle => 1,
         p_boundcolumn => NULL,
         p_ctrlcaption => ' ',
         p_columncount => NULL,
         p_columnheads => ' ',
         p_columnwidths => ' ',
         p_controlsource => 'Desc',
         p_controltiptext => ' ',
         p_defaultvalue => ' ',
         p_displaywhen => 0,
         p_enabled => 0,
         p_fontbold => 1,
         p_fontitalic => 1,
         p_fontname => 'MS Sans Serif',
         p_fontsize => 8,
         p_fontunderline => 1,
         p_fontwheight => NULL,
         p_forecolor => -2147483640,
         p_format => ' ',
         p_height => 255,
         p_helpcontextid => 0,
         p_limittolist => 1,
         p_linkchildfields => ' ',
         p_linkmasterfields => ' ',
         p_listrows => NULL,
         p_multirow => 1,
         p_onchange => ' ',
         p_onclick => ' ',
         p_ondblclick => ' ',
         p_onkeydown => ' ',
         p_onkeypress => ' ',
         p_onkeyup => ' ',
         p_onmousedown => ' ',
         p_onmousemove => ' ',
         p_onmouseup => ' ',
         p_optionvalue => NULL,
         p_pageindex => NULL,
         p_picture => ' ',
         p_picturealignment => NULL,
         p_pictureresizemode => NULL,
         p_picturetiling => 1,
         p_picturetype => NULL,
         p_rowsource => ' ',
         p_rowsourcetype => ' ',
         p_shortcutmenubar => ' ',
         p_sourceobject => ' ',
         p_statusbartext => ' ',
         p_style => NULL,
         p_tabfixedheight => NULL,
         p_tabfixedwidth => NULL,
         p_tabindex => 1,
         p_tabstop => 0,
         p_textalign => 0,
         p_textfontcharset => 0,
         p_width => 2310
    end;
    begin
    WWV_MIG_ACC_LOAD.INS_WWV_MIG_ACC_FORMS_CONTROLS (
         p_dbid => 1,
         p_formid => 1,
         p_controlid => 4,
         p_controlname => 'Desc_Label',
         p_controltype => 100,
         p_eventprocprefix => 'Desc_Label',
         p_inselection => 1,
         p_left => 57,
         p_parent => 'Desc',
         p_section => 0,
         p_tag => ' ',
         p_top => 456,
         p_visible => 0,
         p_backcolor => -2147483633,
         p_backstyle => 0,
         p_boundcolumn => NULL,
         p_ctrlcaption => 'Desc',
         p_columncount => NULL,
         p_columnheads => ' ',
         p_columnwidths => ' ',
         p_controlsource => ' ',
         p_controltiptext => ' ',
         p_defaultvalue => ' ',
         p_displaywhen => 0,
         p_enabled => 1,
         p_fontbold => 1,
         p_fontitalic => 1,
         p_fontname => 'MS Sans Serif',
         p_fontsize => 8,
         p_fontunderline => 1,
         p_fontwheight => NULL,
         p_forecolor => -2147483630,
         p_format => ' ',
         p_height => 255,
         p_helpcontextid => 0,
         p_limittolist => 1,
         p_linkchildfields => ' ',
         p_linkmasterfields => ' ',
         p_listrows => NULL,
         p_multirow => 1,
         p_onchange => ' ',
         p_onclick => ' ',
         p_ondblclick => ' ',
         p_onkeydown => ' ',
         p_onkeypress => ' ',
         p_onkeyup => ' ',
         p_onmousedown => ' ',
         p_onmousemove => ' ',
         p_onmouseup => ' ',
         p_optionvalue => NULL,
         p_pageindex => NULL,
         p_picture => ' ',
         p_picturealignment => NULL,
         p_pictureresizemode => NULL,
         p_picturetiling => 1,
         p_picturetype => NULL,
         p_rowsource => ' ',
         p_rowsourcetype => ' ',
         p_shortcutmenubar => ' ',
         p_sourceobject => ' ',
         p_statusbartext => ' ',
         p_style => NULL,
         p_tabfixedheight => NULL,
         p_tabfixedwidth => NULL,
         p_tabindex => NULL,
         p_tabstop => 1,
         p_textalign => 0,
         p_textfontcharset => 0,
         p_width => 1560
    end;
    begin
    WWV_MIG_ACC_LOAD.INS_WWV_MIG_ACC_FORMS_CONTROLS (
         p_dbid => 1,
         p_formid => 1,
         p_controlid => 5,
         p_controlname => 'Command4',
         p_controltype => 104,
         p_eventprocprefix => 'Command4',
         p_inselection => 1,
         p_left => 2891,
         p_parent => 'MyForm',
         p_section => 0,
         p_tag => ' ',
         p_top => 56,
         p_visible => 0,
         p_backcolor => NULL,
         p_backstyle => NULL,
         p_boundcolumn => NULL,
         p_ctrlcaption => 'Command4',
         p_columncount => NULL,
         p_columnheads => ' ',
         p_columnwidths => ' ',
         p_controlsource => ' ',
         p_controltiptext => ' ',
         p_defaultvalue => ' ',
         p_displaywhen => 0,
         p_enabled => 0,
         p_fontbold => 1,
         p_fontitalic => 1,
         p_fontname => 'MS Sans Serif',
         p_fontsize => 8,
         p_fontunderline => 1,
         p_fontwheight => NULL,
         p_forecolor => 0,
         p_format => ' ',
         p_height => 340,
         p_helpcontextid => 0,
         p_limittolist => 1,
         p_linkchildfields => ' ',
         p_linkmasterfields => ' ',
         p_listrows => NULL,
         p_multirow => 1,
         p_onchange => ' ',
         p_onclick => '[Event Procedure]',
         p_ondblclick => ' ',
         p_onkeydown => ' ',
         p_onkeypress => ' ',
         p_onkeyup => ' ',
         p_onmousedown => ' ',
         p_onmousemove => ' ',
         p_onmouseup => ' ',
         p_optionvalue => NULL,
         p_pageindex => NULL,
         p_picture => '(NONE)',
         p_picturealignment => NULL,
         p_pictureresizemode => NULL,
         p_picturetiling => 1,
         p_picturetype => 0,
         p_rowsource => ' ',
         p_rowsourcetype => ' ',
         p_shortcutmenubar => ' ',
         p_sourceobject => ' ',
         p_statusbartext => ' ',
         p_style => NULL,
         p_tabfixedheight => NULL,
         p_tabfixedwidth => NULL,
         p_tabindex => 2,
         p_tabstop => 0,
         p_textalign => NULL,
         p_textfontcharset => 0,
         p_width => 964
    end;
    begin
    WWV_MIG_ACC_LOAD.INS_WWV_MIG_ACC_FORMS_MODULES (
         p_dbid => 1,
         p_moduleid => 1,
         p_formid => 1,
         p_modulename => 'Form_MyForm',
         p_countofdeclarationlines => 1,
         p_countoflines => 21,
         p_lines => 'Option Compare Database
    NULL
    Private Sub Command4_Click()
    NULL
    Dim varX As Variant
    varX = MsgBox(Chr(34)Click [OK] to quit app or [Cancel] to stay.Chr(34), vbYesNo)
    If varX = vbYes Then
    MsgBox Chr(34)Exit appChr(34)
    Application.Quit
    Else
    NULL
    MsgBox Chr(34)StayChr(33)Chr(34)
    NULL
    End If
    NULL
    End Sub
         p_moduletype => 1
    end;
    begin
    WWV_MIG_ACC_LOAD.INS_WWV_MIG_ACC_FORMS_PERM (
         p_dbid => 1,
         p_formid => 1,
         p_userid => 1,
         p_permissionid => 1,
         p_permission => 1048575,
         p_permission_desc => ' DB_SEC_CREATE DB_SEC_FULLACCESS DB_SEC_DELETE DB_SEC_READSEC DB_SEC_WRITESEC DB_SEC_WRITEOWNER DB_SEC_FRMRPT_EXECUTE DB_SEC_FRMRPT_READDEF DB_SEC_FRMRPT_WRITEDEF DB_SEC_FRMRPT_EXECUTE DB_SEC_MAC_READDEF DB_SEC_MAC_WRITEDEF DB_SEC_MAC_EXECUTE DB_SEC_MOD_READDEF DB_SEC_MOD_WRITEDEF '
    end;
    begin
    WWV_MIG_ACC_LOAD.INS_WWV_MIG_ACC_GROUPS (
         p_dbid => 1,
         p_groupid => 1,
         p_grpname => 'Admins'
    end;
    begin
    WWV_MIG_ACC_LOAD.INS_WWV_MIG_ACC_GROUPS (
         p_dbid => 1,
         p_groupid => 2,
         p_grpname => 'Users'
    end;
    begin
    WWV_MIG_ACC_LOAD.INS_WWV_MIG_ACC_USERS (
         p_dbid => 1,
         p_userid => 1,
         p_username => 'admin'
    end;
    begin
    WWV_MIG_ACC_LOAD.INS_WWV_MIG_ACC_GRPSMEMBERS (
         p_dbid => 1,
         p_grpmbrid => 1,
         p_userid => 1,
         p_groupid => 1
    end;
    begin
    WWV_MIG_ACC_LOAD.INS_WWV_MIG_ACC_GRPSMEMBERS (
         p_dbid => 1,
         p_grpmbrid => 2,
         p_userid => 1,
         p_groupid => 2
    end;
    +++++++++++++++++++++++++++++++++++++++++++
    The associated .xml file is :::
    <?xml version="1.0" encoding="UTF-8" ?>
    - <!-- this file was generated by the Oracle Migration Workbench Exporter for Microsoft Access 10.2.0.2.0 on 19/10/2007 17:02:59
    -->
    - <!-- Do not modify this file as any modification will invalidate the export and subsequent migration of your Microsoft Access database
    -->
    - <DATABASES>
    - <DATABASE>
    <DBID>1</DBID>
    <DBNAME>db2</DBNAME>
    <DBSIZE>1</DBSIZE>
    <DBPATHNAME>C:\db2.mdb</DBPATHNAME>
    <DBUSER>db2</DBUSER>
    <DBPASSWORD>oracle</DBPASSWORD>
    <ISAPPDB>1</ISAPPDB>
    <ISATTACHEDDB>0</ISATTACHEDDB>
    <CONVERTDB>1</CONVERTDB>
    <VERSION>4.0</VERSION>
    <ACCESSVERSION>MS Access 2000</ACCESSVERSION>
    <BUILD>501</BUILD>
    <COLLATINGORDER>1033</COLLATINGORDER>
    <QUERYTIMEOUT>60</QUERYTIMEOUT>
    <STARTUPFORM />
    <STARTUPSHOWSTATUSBAR>1</STARTUPSHOWSTATUSBAR>
    - <TABLES>
    - <TABLE PRIMARY_KEY="1">
    <TBLID>1</TBLID>
    <DBID>1</DBID>
    <TBLNAME>Table1</TBLNAME>
    <CNVTABLESTRUCT>1</CNVTABLESTRUCT>
    <CNVMOVEDATA>1</CNVMOVEDATA>
    <CNVRI>1</CNVRI>
    <CNVVALIDATION>1</CNVVALIDATION>
    <CNVDEFAULT>1</CNVDEFAULT>
    <CNVADDTIMESTAMP>1</CNVADDTIMESTAMP>
    <ATTACHTABLEBACKTOACCESS>1</ATTACHTABLEBACKTOACCESS>
    <SAVEPASSWORD>0</SAVEPASSWORD>
    <CNVMAKEUPDATEABLE>1</CNVMAKEUPDATEABLE>
    <RETAINLOCALCOPY>0</RETAINLOCALCOPY>
    <SYNCWITHSERVER>1</SYNCWITHSERVER>
    <OWNERID>1</OWNERID>
    <VALIDATIONTEXT />
    <VALIDATIONRULE />
    <NUMBEROFROWS>4</NUMBEROFROWS>
    <CACHINGTABLE>0</CACHINGTABLE>
    <DESCRIPTION />
    <ATTRIBUTES>0</ATTRIBUTES>
    <CONFLICTTABLE />
    <DATECREATED>19/10/2007 16:49:30</DATECREATED>
    <LASTUPDATED>19/10/2007 16:49:34</LASTUPDATED>
    <RECORDCOUNT>4</RECORDCOUNT>
    <ORDERBYON>1</ORDERBYON>
    <REPLICAFILTER />
    <SOURCETABLENAME />
    <UPDATABLE>0</UPDATABLE>
    - <COLUMNS>
    - <COLUMN>
    <COLID>1</COLID>
    <TBLID>1</TBLID>
    <DBID>1</DBID>
    <COLNAME>ID</COLNAME>
    <COLTYPE>4</COLTYPE>
    <COLTYPEDESC>Long</COLTYPEDESC>
    <COLAUTOINCR>0</COLAUTOINCR>
    <NEXTCOUNTERVALUE>0</NEXTCOUNTERVALUE>
    <MAXLENGTHSOURCE>0</MAXLENGTHSOURCE>
    <AVGLENGTHSOURCE>0</AVGLENGTHSOURCE>
    <COLTEXTSIZE>4</COLTEXTSIZE>
    <ALLOWZEROLENGTH>0</ALLOWZEROLENGTH>
    <DEFAULTVALUE>0</DEFAULTVALUE>
    <COLREQUIRED>1</COLREQUIRED>
    <COLCOLLATINGORDER>1033</COLCOLLATINGORDER>
    <COLORDPOSITION>1</COLORDPOSITION>
    <VALIDATIONRULE />
    <VALIDATIONTEXT />
    <COLUMNDESCRIPTION />
    <COLUMNHIDDEN>1</COLUMNHIDDEN>
    <COLUMNORDER>0</COLUMNORDER>
    <COLUMNWIDTH>-1</COLUMNWIDTH>
    <DECIMALPLACES>255</DECIMALPLACES>
    <FOREIGNNAME />
    <VALIDATEONSET>1</VALIDATEONSET>
    </COLUMN>
    - <COLUMN>
    <COLID>2</COLID>
    <TBLID>1</TBLID>
    <DBID>1</DBID>
    <COLNAME>Desc</COLNAME>
    <COLTYPE>10</COLTYPE>
    <COLTYPEDESC>Text</COLTYPEDESC>
    <COLAUTOINCR>0</COLAUTOINCR>
    <NEXTCOUNTERVALUE>0</NEXTCOUNTERVALUE>
    <MAXLENGTHSOURCE>0</MAXLENGTHSOURCE>
    <AVGLENGTHSOURCE>0</AVGLENGTHSOURCE>
    <COLTEXTSIZE>50</COLTEXTSIZE>
    <ALLOWZEROLENGTH>-1</ALLOWZEROLENGTH>
    <DEFAULTVALUE />
    <COLREQUIRED>1</COLREQUIRED>
    <COLCOLLATINGORDER>1033</COLCOLLATINGORDER>
    <COLORDPOSITION>2</COLORDPOSITION>
    <VALIDATIONRULE />
    <VALIDATIONTEXT />
    <COLUMNDESCRIPTION />
    <COLUMNHIDDEN>1</COLUMNHIDDEN>
    <COLUMNORDER>0</COLUMNORDER>
    <COLUMNWIDTH>-1</COLUMNWIDTH>
    <DECIMALPLACES>0</DECIMALPLACES>
    <FOREIGNNAME />
    <VALIDATEONSET>1</VALIDATEONSET>
    </COLUMN>
    </COLUMNS>
    - <INDEXES>
    - <INDEX>
    <INDID>1</INDID>
    <TBLID>1</TBLID>
    <DBID>1</DBID>
    <INDNAME>ID</INDNAME>
    <CNVINDEX>1</CNVINDEX>
    <ISPRIMARY>0</ISPRIMARY>
    <ISUNIQUE>0</ISUNIQUE>
    <ISFOREIGN>0</ISFOREIGN>
    <IGNORENULLS>0</IGNORENULLS>
    <ISREQUIRED>0</ISREQUIRED>
    <DISTINCTCOUNT>4</DISTINCTCOUNT>
    <ISCLUSTERED>0</ISCLUSTERED>
    - <INDEX_COLUMNS>
    - <INDEX_COLUMN>
    <INDCOLID>1</INDCOLID>
    <INDID>1</INDID>
    <COLID>1</COLID>
    <DBID>1</DBID>
    <COLORDER>1</COLORDER>
    <TBLID>1</TBLID>
    <COLNAME>ID</COLNAME>
    </INDEX_COLUMN>
    </INDEX_COLUMNS>
    </INDEX>
    - <INDEX>
    <INDID>2</INDID>
    <TBLID>1</TBLID>
    <DBID>1</DBID>
    <INDNAME>PK_Table1</INDNAME>
    <CNVINDEX>1</CNVINDEX>
    <ISPRIMARY>1</ISPRIMARY>
    <ISUNIQUE>1</ISUNIQUE>
    <ISFOREIGN>0</ISFOREIGN>
    <IGNORENULLS>0</IGNORENULLS>
    <ISREQUIRED>1</ISREQUIRED>
    <DISTINCTCOUNT>4</DISTINCTCOUNT>
    <ISCLUSTERED>0</ISCLUSTERED>
    - <INDEX_COLUMNS>
    - <INDEX_COLUMN>
    <INDCOLID>2</INDCOLID>
    <INDID>2</INDID>
    <COLID>1</COLID>
    <DBID>1</DBID>
    <COLORDER>1</COLORDER>
    <TBLID>1</TBLID>
    <COLNAME>ID</COLNAME>
    </INDEX_COLUMN>
    </INDEX_COLUMNS>
    </INDEX>
    </INDEXES>
    - <PERMISSIONS>
    - <USRS>
    - <USR>
    <USRNAME>admin</USRNAME>
    <PERMISSION>1048319</PERMISSION>
    </USR>
    </USRS>
    - <GRPS>
    - <GRP>
    <USRNAME>Admins</USRNAME>
    <PERMISSION>1048319</PERMISSION>
    </GRP>
    - <GRP>
    <USRNAME>Users</USRNAME>
    <PERMISSION>1048319</PERMISSION>
    </GRP>
    </GRPS>
    </PERMISSIONS>
    </TABLE>
    </TABLES>
    <QUERIES />
    <RELATIONS />
    <MODULES />
    - <GROUPS>
    - <GROUP>
    <GROUPID>1</GROUPID>
    <GRPNAME>Admins</GRPNAME>
    - <GROUPUSERS>
    <GROUPUSER>admin</GROUPUSER>
    </GROUPUSERS>
    </GROUP>
    - <GROUP>
    <GROUPID>2</GROUPID>
    <GRPNAME>Users</GRPNAME>
    - <GROUPUSERS>
    <GROUPUSER>admin</GROUPUSER>
    </GROUPUSERS>
    </GROUP>
    </GROUPS>
    - <USERS>
    - <USER>
    <USERID>1</USERID>
    <USERNAME>admin</USERNAME>
    </USER>
    </USERS>
    </DATABASE>
    <ATTACHED_TABLES />
    </DATABASES>

    Hi Mike,
    Hopefully I can help to clarify a few things for you. An MS Access application migration essentially involves 3 steps, to be completed in the following order:
    1. Export the database and application information from your MS Access MDB file using the Exporter tool for MS Access. This tool generates two files: an XML file containing the database schema information, and a SQL script containing the application metadata. You've already completed this step.
    2. Migrate the database schema to Oracle. Using Oracle SQL Developer Migration Workbench, load the XML file generated in step 1, to capture & convert the MS Access database objects to Oracle.
    3. Migrate the application to Oracle Application Express. Using Oracle Application Express Application Migrations, create a Migration Project to retrieve the application metadata from the SQL script generated in step 1. The Migration Project should be associated with the Oracle schema containing the migrated database objects (from step 2).
    It sounds like you have carried out steps 1 and 3, but skipped step 2. I would recommend that you do the following:
    * Download the latest release of Oracle SQL Developer, version 1.2.1, from OTN - http://www.oracle.com/technology/software/products/sql/index.html. It incorporates the Migration Workbench. Review the accompanying documentation from the Help > Table of Contents menu item, specifically the chapter "Migrating Third Party Databases".
    * Create a Migration Repository, which is used by the Migration Workbench during the migration process. In order to do so, you need to create a database user for the Migration Repository. I would recommend reviewing the documentation for further information on this. The section titled "Before You Start Migrating: General Information" will assist you.
    * From the menu bar go to Migration > Capture Microsoft Access Exported XML, where you should browse to the location of the XML file generated by the Exporter tool in step 1. This captures the MS Access database schema information, and create a Captured Model of the information.
    * Right-click on the captured model, and select "Convert to Oracle Model" from its context menu. This creates a converted model, which is a representation of the structure of the destination Oracle database.
    * From the menu bar go to Tools > Preferences, to launch the Preferences dialog. On the Preferences dialog go to Migration > Generation Options, and select the "Least Privilege Schema Migration" and click OK.
    * Right-click on the Converted Model & select "Generate" from its context menu. This will generate the DDL statements to create the migrated database objects. I would recommend that you save the statements as a SQL script.
    * Create a new Oracle connection in Oracle SQL Developer, providing the connection details to the schema associated with your Oracle APEX workspace. Then run the SQL script containing the output from the "Generate" step. This will create the objects in the schema associated with your Oracle APEX workspace.
    * Log in to the Oracle APEX workspace, and I would recommend creating a new Migration Project. You should then be in a position to review the information retrieved from your MS Access application forms & reports.
    I hope this helps. Apologies for the length of the posting, but hopefully the points I've outlined will make the process a little clearer for you.
    Regards,
    Hilary

  • DropDown problem

    Hi all,
    I fill a dropdown from database fields,that is working very nice.
    Now, I would like to add a new line in first position in this dropdown.
    I've read a few subject asking about it on the forum, but none has answered to my question, because of the JSP instructions don't seem to be the same....
    Here is the interesting code of my JSP page :
    <ui:dropDown binding="#{customer_search.dd1}" id="dd1"
    items="#{customer_search.app_userDataProvider.options['app_user.EMPLOYEE_ID,app_user.LOGIN']}"
    style="left: 600px; top: 504px; position: absolute; width: 192px" styleClass="edit-box"/> And this is the java source :
    private void _init() throws Exception {
            if(getSessionBean1().getUser_seq() == 0){
                    this.getExternalContext().redirect("./login.jsp");
            if(getSessionBean1().getAccess_level()!=1)
                lbl8.setVisible(false);
                dd1.setVisible(false);
            customer_listRowSet.setInt(1,getSessionBean1().getUser_seq());
            customer_listDataProvider.setCachedRowSet((javax.sql.rowset.CachedRowSet)getValue("#{customer_search.customer_listRowSet}"));
            app_userRowSet.setDataSourceName("java:comp/env/jdbc/mos_data");
            app_userRowSet.setCommand("SELECT app_user.SEQ,app_user.EMPLOYEE_ID,app_user.LOGIN FROM app_user WHERE app_user.SEQ<>? ORDER BY app_user.LOGIN");
            app_userRowSet.setInt(1,getSessionBean1().getUser_seq());
            app_userRowSet.setTableName("app_user");
            app_userDataProvider.setCachedRowSet((javax.sql.rowset.CachedRowSet)getValue("#{customer_search.app_userRowSet}"));
        private DropDown dd1 = new DropDown();
        public DropDown getDd1() {
            return dd1;
        public void setDd1(DropDown dd) {
            this.dd1 = dd;
        }Does anyone know what's the way to add a line in first position in this dropdown?
    Thanks for your comments.
    Nicolas

    Using the employee table from the VIR database as an example.
    Drop the employee table on the page
    Add a read-only property named nameOptionsList of type com.sun.rave.web.ui.model.Option[] to the page.
    Add this to the bottom of the init method.
            try {
                int listSize = employeeDataProvider.getRowCount() +1;
                log("row count " + listSize);
                this.nameOptionsList =  new Option[listSize];
                Option opt = new Option("none", "[Select One]");
                int i=0;
                nameOptionsList[i] = opt;
                employeeDataProvider.cursorFirst();         
                do {
                    i++;
                    String dbName =
                            (String)employeeDataProvider.getValue(
                            "EMPLOYEE.FIRSTNAME");
                    log("dbName: " + dbName);
                    String dbId =
                            employeeDataProvider.getValue("EMPLOYEE.ID").toString();
                    opt = new Option(dbId, dbName);
                    log("dbId:"+dbId);
                    nameOptionsList[i] = opt;
                } while (employeeDataProvider.cursorNext());
            } catch (Exception ex) {
                throw new FacesException(ex);
            }This tutorial shows how to build an options list for a drop-down list or a listbox: http://developers.sun.com/prodtech/javatools/jscreator/learning/t

  • NID Utility

    Following :
    How to Change the DBID, DBNAME Using NID Utility [ID 863800.1]
    I would like to change the name of the DB from PSDWH to DSDWH
    The note said:
    Make sure that you have DB_OLD specified in the tnsnames.ora and listener is started.
        You can aslo check if you able to connect to the database using sqlplus :  
      $ sqlplus sys/<passowrd>@DB_OLDVerify connection to OLD database:
    sqlplus sys/xxxxx@psdwh as sysdba
    SQL*Plus: Release 10.2.0.4.0 - Production on Thu Jan 27 17:28:27 2011
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> I opened the NEW database in MOUNT mode:
    SQL> startup mount restrict
    ORACLE instance started.
    Total System Global Area 2667577344 bytes
    Fixed Size                  2184656 bytes
    Variable Size             654203440 bytes
    Database Buffers         1996488704 bytes
    Redo Buffers               14700544 bytes
    Database mounted.
    SQL> Then i run the nid command:
    [asgard:oracle@dsdwh /software/oracle/DSDWH10gR2/dbs]$ nid TARGET=SYS/LIN45UX@PSDWH DBNAME=DSDWH
    DBNEWID: Release 10.2.0.4.0 - Production on Thu Jan 27 17:24:29 2011
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Connected to database PSDWH (DBID=1620662674)
    NID-00121: Database should not be open                      <<<<<<=============
    Change of database name failed during validation - database is intact.
    DBNEWID - Completed with validation errors.        Any suggestion . As far as i am remember its OK that the TARGET (e.g:PSDWH in my case ) should be up and running ?
    Thanks

    Following works with 10.2.0.4 EE on EOL 5.2:
    [oracle@lx01 dbs]$ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.4.0 - Production on Thu Jan 27 19:25:31 2011
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup mount exclusive;
    ORACLE instance started.
    Total System Global Area  285212672 bytes
    Fixed Size                  1267068 bytes
    Variable Size              92277380 bytes
    Database Buffers          188743680 bytes
    Redo Buffers                2924544 bytes
    Database mounted.
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [oracle@lx01 dbs]$ nid target=/ dbname=DB102 setname=y
    DBNEWID: Release 10.2.0.4.0 - Production on Thu Jan 27 19:27:02 2011
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Connected to database NDB102 (DBID=915559637)
    Connected to server version 10.2.0
    Control Files in database:
        +DATA/cf1.ctl
        +DATA/cf2.ctl
    Change database name of database NDB102 to DB102? (Y/[N]) => Y
    Proceeding with operation
    Changing database name from NDB102 to DB102
        Control File +DATA/cf1.ctl - modified
        Control File +DATA/cf2.ctl - modified
        Datafile +DATA/db102/datafile/system.257.740787623 - wrote new name
        Datafile +DATA/db102/datafile/undotbs1.258.740787655 - wrote new name
        Datafile +DATA/db102/datafile/sysaux.259.740787681 - wrote new name
        Datafile +DATA/db102/datafile/users.256.740787419 - wrote new name
        Datafile +DATA/db102/tempfile/temp.265.740788819 - wrote new name
        Control File +DATA/cf1.ctl - wrote new name
        Control File +DATA/cf2.ctl - wrote new name
        Instance shut down
    Database name changed to DB102.
    Modify parameter file and generate a new password file before restarting.
    Succesfully changed database name.
    DBNEWID - Completed succesfully.
    [oracle@lx01 dbs]$My database is using ASM but that should not matter. My Listener is also stopped.
    Try to stop your listener and just use target=/ to connect to instance:
    export ORACLE_SID=PSDWH
    nid target=/ DBNAME=DSDWH setname=yEdited by: P. Forstmann on 27 janv. 2011 19:42

  • Top 10 CPU, Disk IO, Memory consuming queries

    Hi All,
    I need DMV queries to find top 10 queries by CPU,Memory,Disk IO, duration in sql server 2005.
    Regards
    Rahul 

    Hi,
    http://www.sqlservercentral.com/blogs/mssqlfun/2013/04/03/dmv-4-find-top-most-expensive-cached-queries-sysdm_exec_query_stats/
    Query 1 : Top 10 total CPU consuming queries
    SELECT TOP 10
    QT.TEXT AS STATEMENT_TEXT,
    QP.QUERY_PLAN,
    QS.TOTAL_WORKER_TIME AS CPU_TIME
    FROM SYS.DM_EXEC_QUERY_STATS QS
    CROSS APPLY SYS.DM_EXEC_SQL_TEXT (QS.SQL_HANDLE) AS QT
    CROSS APPLY SYS.DM_EXEC_QUERY_PLAN (QS.PLAN_HANDLE) AS QP
    ORDER BY TOTAL_WORKER_TIME DESC
    Query 2 : Top 10 average CPU consuming queries
    SELECT TOP 10
    TOTAL_WORKER_TIME ,
    EXECUTION_COUNT ,
    TOTAL_WORKER_TIME / EXECUTION_COUNT AS [AVG CPU TIME] ,
    QT.TEXT AS QUERYTEXT
    FROM SYS.DM_EXEC_QUERY_STATS QS
    CROSS APPLY SYS.DM_EXEC_SQL_TEXT(QS.PLAN_HANDLE) AS QT
    ORDER BY QS.TOTAL_WORKER_TIME DESC ;
    Query 3 : Top 10 I/O intensive queries
    SELECT TOP 10
    TOTAL_LOGICAL_READS,
    TOTAL_LOGICAL_WRITES,
    EXECUTION_COUNT,
    TOTAL_LOGICAL_READS+TOTAL_LOGICAL_WRITES AS [IO_TOTAL],
    QT.TEXT AS QUERY_TEXT,
    DB_NAME(QT.DBID) AS DATABASE_NAME,
    QT.OBJECTID AS OBJECT_ID
    FROM SYS.DM_EXEC_QUERY_STATS QS
    CROSS APPLY SYS.DM_EXEC_SQL_TEXT(SQL_HANDLE) QT
    WHERE TOTAL_LOGICAL_READS+TOTAL_LOGICAL_WRITES > 0
    ORDER BY [IO_TOTAL] DESC
    Query 4 : Execution count of each query
    SELECT
    QS.EXECUTION_COUNT,
    QT.TEXT AS QUERY_TEXT,
    QT.DBID,
    DBNAME= DB_NAME (QT.DBID),
    QT.OBJECTID,
    QS.TOTAL_ROWS,
    QS.LAST_ROWS,
    QS.MIN_ROWS,
    QS.MAX_ROWS
    FROM SYS.DM_EXEC_QUERY_STATS AS QS
    CROSS APPLY SYS.DM_EXEC_SQL_TEXT(QS.SQL_HANDLE) AS QT
    ORDER BY QS.EXECUTION_COUNT DESC
    Remarks
    1. Statistics in the view are updated when a query is completed.
    2. User required VIEW SERVER STATE permission on the server.
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it

  • Owner of PROD db

    hi all,
    few questions plz.
    1. whos the owner of the prod db.
    2. who are applsys, applsyspub, apps, icx..what r their roles, functionalities in prod db.
    3. why isnt the http server,ias and portal not working in 11.5.7.3. how to apply patches. the docs in metalink arent suffice and lucid.
    4. how to shutdown the prod db. couldnt shutdown as sys/change... and apps/apps.
    5. has anyone got the hard copy of the oracle docs.i am ready to buy. plz..

    Pleaase post the result of the following :
    --> show parameter file_name_convert; --- from Test server(to check db file and log file convert)
    --> select name,dbid from v$database ; -- from Test + Prod server
    Also check the location of the data files ,control files and log files where they are stored on prod and test servers. Check the alert log file especially the lines of the startup of the instance on both test and prod server. Compare it .
    If you find that both prod and test servers have identical structure and dbid/dbname then just use DATAPUMP(better) or traditional exp/imp to perform the refresh.
    Regards,
    imran khan

  • VMWare and Windows

    Hi,
    I would like to know if anyone have any exprienced with Oracle database on a virtuel session Windows on VmWare.
    I saw a lot of guide of "How to install an oracle database on Linux with VMware" but I didn't see any with Windows.Is there a lots of bugs?
    Is it complicated to clone the session? Except for the server name, etc do I have to do a lots of step to clone a database? I know I will have to change de DBID, dbname and the parameter file, is there anything else I will have to change? I guess I will have to change all the directory name where my DBname is in it.
    Have you even seen a kind of "Check list" on how to clone a virtual session with Windows?
    Thank you

    but I didn't see any with Windows.Is there a lots of bugs?
    Bugs? Apart from the OS you mean? ;-) I think the installation on windows is a little easier (for beginners). Especially because you have to do some manual work to install oracle on the varous linux systems (not all of them are officially supported).
    But apart from that personally I feel it's more easier to administrate an oracle db on unix/linux then on windows.
    Is it complicated to clone the session? Except for the server name, etc do I have to do a lots of step to clone a database?
    Session? Database? What do you want to clone?
    Dim

  • Restore on new server with new DB_NAME/SID?

    My goal is to restore database with the RMAN backup on a server that has no connectivity to the production database (I don’t want to use duplicate command).
    I restore a database from RMAN using a same DB_NAME/SID and everything was ok.
    -     restore spfile
    -     restore controlfile
    -     restore database
    -     recover database
    -     open with reset logs
    Now I want to restore database but with different DB_NAME/SID (My production database is PROD and I want to restore this PROD RMAN backup on new server and this new database I want to be called DEV).
    How to restore database with new DB_NAME/SID?
    Oracle 10g, Windows Server 2003
    Thanks in advance!

    user9106065 wrote:
    My goal is to restore database with the RMAN backup on a server that has no connectivity to the production database (I don’t want to use duplicate command).
    I restore a database from RMAN using a same DB_NAME/SID and everything was ok.
    -     restore spfile
    -     restore controlfile
    -     restore database
    -     recover database
    -     open with reset logs
    Now I want to restore database but with different DB_NAME/SID (My production database is PROD and I want to restore this PROD RMAN backup on new server and this new database I want to be called DEV).
    How to restore database with new DB_NAME/SID?
    Oracle 10g, Windows Server 2003
    Thanks in advance!You can use NID command
    Run NID and you can see the options to run
    or see How to Change the DBID, DBNAME Using NID Utility in version 10GgR2 onwards [ID 863800.1]
    Cheers

  • Trying to change DBNAME and DBID at a time

    Hello all;
    I am trying to change DBNAME AND DBID at a time. but getting error.
    I am pasting following below wht i did. please have a look and help me to solve it.
    SQL> select instance from v$thread ;
    INSTANCE
    clone
    SQL> select name , dbid from v$database;
    NAME            DBID
    CLONE     1028509667
    SQL> alter database close;
    Database altered.
    SQL> select status from v$instance;
    STATUS
    MOUNTED
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    $ nid target=/ dbname=CLONEDB
    DBNEWID: Release 10.2.0.4.0 - Production on Fri Oct 25 04:21:46 2013
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Connected to database CLONE (DBID=1028509667)
    Connected to server version 10.2.0
    Control Files in database:
        /u01/app/oracle/oradata/clone/control01.ctl
            /u01/app/oracle/oradata/clone/control02.ctl
        /u01/app/oracle/oradata/clone/control03.ctl
    Change database ID and database name CLONE to CLONEDB? (Y/[N]) => Y
    Proceeding with operation
    Changing database ID from 1028509667 to 916366170
    Changing database name from CLONE to CLONEDB
        Control File /u01/app/oracle/oradata/clone/control01.ctl - modified
        Control File /u01/app/oracle/oradata/clone/control02.ctl - modified
        Control File /u01/app/oracle/oradata/clone/control03.ctl - modified
        Datafile /u01/app/oracle/oradata/clone/system01.dbf - dbid changed, wrote new name
        Datafile /u01/app/oracle/oradata/clone/undotbs01.dbf - dbid changed, wrote new name
        Datafile /u01/app/oracle/oradata/clone/sysaux01.dbf - dbid changed, wrote new name
        Datafile /u01/app/oracle/oradata/clone/users01.dbf - dbid changed, wrote new name
        Datafile /u01/app/oracle/oradata/clone/example01.dbf - dbid changed, wrote new name
        Datafile /u01/app/oracle/oradata/clone/temp01.dbf - dbid changed, wrote new name
        Control File /u01/app/oracle/oradata/clone/control01.ctl - dbid changed, wrote new name
        Control File /u01/app/oracle/oradata/clone/control02.ctl - dbid changed, wrote new name
        Control File /u01/app/oracle/oradata/clone/control03.ctl - dbid changed, wrote new name
        Instance shut down
    Database name changed to CLONEDB.
    Modify parameter file and generate a new password file before restarting.
    Database ID for database CLONEDB changed to 916366170.
    All previous backups and archived redo logs for this database are unusable.
    Database is not aware of previous backups and archived logs in Recovery Area.
    Database has been shutdown, open database with RESETLOGS option.
    Succesfully changed database name and ID.
    DBNEWID - Completed succesfully.
    $ echo $ORACLE_SID
    clone
    [oracle@oel5 ~]$ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.4.0 - Production on Fri Oct 25 04:26:52 2013
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    startup nomount pfile='/u01/app/oracle/admin/clone/pfile/initclone.ora';
    ORACLE instance started.
    Total System Global Area  608174080 bytes
    Fixed Size                  1268920 bytes
    Variable Size             188744520 bytes
    Database Buffers          415236096 bytes
    Redo Buffers                2924544 bytes
    SQL> alter database mount;
    alter database mount
    ERROR at line 1:
    ORA-01103: database name 'CLONEDB' in control file is not 'CLONEDB '
    ---------------------------------  vi /u01/app/oracle/admin/clone/pfile/initclone.ora ---------------------
    clone.__db_cache_size=415236096
    clone.__java_pool_size=25165824
    clone.__large_pool_size=4194304
    clone.__shared_pool_size=159383552
    clone.__streams_pool_size=0
    *.audit_file_dest='/u01/app/oracle/admin/clone/adump'
    *.background_dump_dest='/u01/app/oracle/admin/clone/bdump'
    *.compatible='10.2.0.1.0'
    *.control_files='/u01/app/oracle/oradata/clone/control01.ctl','/u01/app/oracle/oradata/clone/control02.ctl','/u01/app/oracle/oradata/clone/control03.ctl'
    *.core_dump_dest='/u01/app/oracle/admin/clone/cdump'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_name='clonedb '
    *.db_recovery_file_dest='/u01/app/oracle/flash_recovery_area'
    *.db_recovery_file_dest_size=2147483648
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=cloneXDB)'
    *.job_queue_processes=10
    *.open_cursors=300
    *.pga_aggregate_target=201326592
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=605028352
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='/u01/app/oracle/admin/clone/udump'
    ~                      
    Thnaks in advance ..

    @ MahirM.Quluzade
    Thanks
    SQL> create spfile from pfile ='/u01/app/oracle/admin/clone/pfile/initclone.ora';
    File created.
    SQL> startup force;
    ORACLE instance started.
    Total System Global Area  608174080 bytes
    Fixed Size                  1268920 bytes
    Variable Size             188744520 bytes
    Database Buffers          415236096 bytes
    Redo Buffers                2924544 bytes
    Database mounted.
    ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
    SQL> alter database open resetlogs;
    Database altered.
    Anything Else ?  --- i mean above steps are correct or anything i missed ?

  • DBID and DBNAME

    We are using oracle 10.2.0.3 RAC in window environment and have two instances with different database installed on the same host. If we are going to use RMAN and not going to use recovery catalog, is there impact if our dbid and dbname are the same for the two database (because the second one is restored from the first one) ? Of course, the dbuniquename is different.
    Thanks !

    DBID and DBNAME should be unique for each independent database. You can use DBNEWID to change both.

  • Never have files in I:\oracle\flash_recovery_area\dbname\ARCHIVELOG?

    Hello,
    My flash recovery area I:\oracle\flash_recovery_area\dbname\ARCHIVELOG for archivelogs never has any files in it? However, there are always files in I:\oracle\flash_recovery_area\dbname\AUTOBACKUP and I:\oracle\flash_recovery_area\dbname\BACKUPSET.
    fyi. I see new files like ARC27946_0704276183.001 created in the folder i:\oracle\product\11.1.0\db_1\RDBMS. Not sure why these files are never written to the flash recovery area?
    thanks for any help.
    server setup
    11g 11.1.0.6.0 on windows 2003 server
    rman settings
    RMAN configuration parameters for database with db_unique_name DBNAME are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 3 DAYS;
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE COMPRESSION ALGORITHM 'BZIP2'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'I:\ORACLE\ORA11G\DATABASE\SNCFDBNAME.ORA'; # default
    Output from daily backup
    C:\Scheduled Batches>RMAN NOCATALOG TARGET SYS/DBNAME @'FULLBACKUPDATABASE.TXT'
    Recovery Manager: Release 11.1.0.6.0 - Production on Fri Mar 25 02:00:00 2011
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    connected to target database: DBNAME (DBID=1451743730)
    using target database control file instead of recovery catalog
    RMAN> run
    2> {
    3> backup database tag=database_full_backup;
    4> backup archivelog all delete input tag=achivelog_backup;
    5> crosscheck backup;
    6> delete expired backup;
    7> delete noprompt obsolete;
    8> }
    9> exit;
    Starting backup at 25-MAR-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=134 device type=DISK
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    input datafile file number=00005 name=I:\ORACLE\DATABASE\DBNAME\PWRPLANT.DBF
    input datafile file number=00004 name=I:\ORACLE\DATABASE\DBNAME\USERS01.DBF
    input datafile file number=00006 name=I:\ORACLE\DATABASE\DBNAME\PWRPLANT_IDX.DBF
    input datafile file number=00003 name=I:\ORACLE\DATABASE\DBNAME\UNDOTBS01.DBF
    input datafile file number=00001 name=I:\ORACLE\DATABASE\DBNAME\SYSTEM01.DBF
    input datafile file number=00002 name=I:\ORACLE\DATABASE\DBNAME\SYSAUX01.DBF
    channel ORA_DISK_1: starting piece 1 at 25-MAR-11
    channel ORA_DISK_1: finished piece 1 at 25-MAR-11
    piece handle=I:\ORACLE\FLASH_RECOVERY_AREA\DBNAME\BACKUPSET\2011_03_25\O1_MF_NNNDF_DATABASE_FULL_BACKUP_6RRPF24V_.BKP tag=DATABASE_FULL_BACKUP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:12:26
    Finished backup at 25-MAR-11
    Starting backup at 25-MAR-11
    current log archived
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting archived log backup set
    channel ORA_DISK_1: specifying archived log(s) in backup set
    input archived log thread=1 sequence=900 RECID=11736 STAMP=746618219
    input archived log thread=1 sequence=901 RECID=11737 STAMP=746635454
    input archived log thread=1 sequence=902 RECID=11738 STAMP=746646971
    input archived log thread=1 sequence=903 RECID=11739 STAMP=746662367
    input archived log thread=1 sequence=904 RECID=11740 STAMP=746662655
    input archived log thread=1 sequence=905 RECID=11741 STAMP=746662661
    input archived log thread=1 sequence=906 RECID=11742 STAMP=746662669
    input archived log thread=1 sequence=907 RECID=11743 STAMP=746662673
    input archived log thread=1 sequence=908 RECID=11744 STAMP=746662675
    input archived log thread=1 sequence=909 RECID=11745 STAMP=746662678
    input archived log thread=1 sequence=910 RECID=11746 STAMP=746662679
    input archived log thread=1 sequence=911 RECID=11747 STAMP=746662681
    input archived log thread=1 sequence=912 RECID=11748 STAMP=746662692
    input archived log thread=1 sequence=913 RECID=11749 STAMP=746662698
    input archived log thread=1 sequence=914 RECID=11750 STAMP=746662706
    input archived log thread=1 sequence=915 RECID=11751 STAMP=746662903
    input archived log thread=1 sequence=916 RECID=11752 STAMP=746662943
    input archived log thread=1 sequence=917 RECID=11753 STAMP=746672536
    input archived log thread=1 sequence=918 RECID=11754 STAMP=746676769
    channel ORA_DISK_1: starting piece 1 at 25-MAR-11
    channel ORA_DISK_1: finished piece 1 at 25-MAR-11
    piece handle=I:\ORACLE\FLASH_RECOVERY_AREA\DBNAME\BACKUPSET\2011_03_25\O1_MF_ANNNN_ACHIVELOG_BACKUP_6RRQ51QL_.BKP tag=ACHIVELOG_BACKUP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:26
    channel ORA_DISK_1: deleting archived log(s)
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00900_0744612227.001 RECID=11736 STAMP=746618219
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00901_0744612227.001 RECID=11737 STAMP=746635454
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00902_0744612227.001 RECID=11738 STAMP=746646971
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00903_0744612227.001 RECID=11739 STAMP=746662367
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00904_0744612227.001 RECID=11740 STAMP=746662655
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00905_0744612227.001 RECID=11741 STAMP=746662661
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00906_0744612227.001 RECID=11742 STAMP=746662669
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00907_0744612227.001 RECID=11743 STAMP=746662673
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00908_0744612227.001 RECID=11744 STAMP=746662675
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00909_0744612227.001 RECID=11745 STAMP=746662678
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00910_0744612227.001 RECID=11746 STAMP=746662679
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00911_0744612227.001 RECID=11747 STAMP=746662681
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00912_0744612227.001 RECID=11748 STAMP=746662692
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00913_0744612227.001 RECID=11749 STAMP=746662698
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00914_0744612227.001 RECID=11750 STAMP=746662706
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00915_0744612227.001 RECID=11751 STAMP=746662903
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00916_0744612227.001 RECID=11752 STAMP=746662943
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00917_0744612227.001 RECID=11753 STAMP=746672536
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00918_0744612227.001 RECID=11754 STAMP=746676769
    Finished backup at 25-MAR-11
    Starting Control File and SPFILE Autobackup at 25-MAR-11
    piece handle=I:\ORACLE\FLASH_RECOVERY_AREA\DBNAME\AUTOBACKUP\2011_03_25\O1_MF_S_746676812_6RRQ6C33_.BKP comment=NONE
    Finished Control File and SPFILE Autobackup at 25-MAR-11
    using channel ORA_DISK_1
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=I:\ORACLE\FLASH_RECOVERY_AREA\DBNAME\BACKUPSET\2011_03_24\O1_MF_NNNDF_DATABASE_FULL_BACKUP_6RP21SC6_.BKP RECID=692 STAMP=746589641
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=I:\ORACLE\FLASH_RECOVERY_AREA\DBNAME\AUTOBACKUP\2011_03_24\O1_MF_S_746591286_6RP3OQPF_.BKP RECID=693 STAMP=746591303
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=I:\ORACLE\FLASH_RECOVERY_AREA\DBNAME\BACKUPSET\2011_03_24\O1_MF_ANNNN_ACHIVE_BAK_6RP3Q7YQ_.BKP RECID=694 STAMP=746591351
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=I:\ORACLE\FLASH_RECOVERY_AREA\DBNAME\AUTOBACKUP\2011_03_24\O1_MF_S_746591438_6RP3TH79_.BKP RECID=695 STAMP=746591455
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=I:\ORACLE\FLASH_RECOVERY_AREA\DBNAME\BACKUPSET\2011_03_24\O1_MF_NNNDF_DATABASE_FULL_BACKUP_6RQHZJDS_.BKP RECID=696 STAMP=746636672
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=I:\ORACLE\FLASH_RECOVERY_AREA\DBNAME\BACKUPSET\2011_03_25\O1_MF_NNNDF_DATABASE_FULL_BACKUP_6RRPF24V_.BKP RECID=697 STAMP=746676018
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=I:\ORACLE\FLASH_RECOVERY_AREA\DBNAME\BACKUPSET\2011_03_25\O1_MF_ANNNN_ACHIVELOG_BACKUP_6RRQ51QL_.BKP RECID=698 STAMP=746676785
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=I:\ORACLE\FLASH_RECOVERY_AREA\DBNAME\AUTOBACKUP\2011_03_25\O1_MF_S_746676812_6RRQ6C33_.BKP RECID=699 STAMP=746676827
    Crosschecked 8 objects
    using channel ORA_DISK_1
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to recovery window of 3 days
    using channel ORA_DISK_1
    no obsolete backups found
    Recovery Manager complete.
    C:\Scheduled Batches>REM SEND AN EMAIL TO DBAs
    SQL*Plus: Release 11.1.0.6.0 - Production on Fri Mar 25 02:14:15 2011
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Release 11.1.0.6.0 - Production

    when I run the command "RMAN> backup archivelog all delete input tag=achivelog_backup;". I get different results in different databases.
    problem database only puts files in FRA/backupset
    Starting backup at 25-MAR-11
    current log archived
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting archived log backup set
    channel ORA_DISK_1: specifying archived log(s) in backup set
    input archived log thread=1 sequence=919 RECID=11755 STAMP=746704813
    input archived log thread=1 sequence=920 RECID=11756 STAMP=746722527
    channel ORA_DISK_1: starting piece 1 at 25-MAR-11
    channel ORA_DISK_1: finished piece 1 at 25-MAR-11
    piece handle=I:\ORACLE\FLASH_RECOVERY_AREA\PWRPROD\BACKUPSET\2011_03_25\O1_MF_ANNNN_ACHIVELOG_BACKUP_6RT3VO50_.BKP tag=A
    CHIVELOG_BACKUP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:07
    channel ORA_DISK_1: deleting archived log(s)
    archived log file name=I:\ORACLE\DATABASE\PWRPROD\ARC00919_0744612227.001 RECID=11755 STAMP=746704813
    archived log file name=I:\ORACLE\DATABASE\PWRPROD\ARC00920_0744612227.001 RECID=11756 STAMP=746722527
    Finished backup at 25-MAR-11
    Starting Control File and SPFILE Autobackup at 25-MAR-11
    piece handle=I:\ORACLE\FLASH_RECOVERY_AREA\PWRPROD\AUTOBACKUP\2011_03_25\O1_MF_S_746722572_6RT3W9XF_.BKP comment=NONE
    Finished Control File and SPFILE Autobackup at 25-MAR-11"
    *good database puts files in FRA/ARCHIVELOG and FRA/BACKUPSET with the same RMAN config?*
    Starting backup at 25-MAR-11
    current log archived
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting archived log backup set
    channel ORA_DISK_1: specifying archived log(s) in backup set
    input archived log thread=1 sequence=27943 RECID=53801 STAMP=746647205
    input archived log thread=1 sequence=27944 RECID=53803 STAMP=746651004
    input archived log thread=1 sequence=27945 RECID=53805 STAMP=746661637
    input archived log thread=1 sequence=27946 RECID=53807 STAMP=746664032
    input archived log thread=1 sequence=27947 RECID=53809 STAMP=746679433
    input archived log thread=1 sequence=27948 RECID=53811 STAMP=746690613
    input archived log thread=1 sequence=27949 RECID=53814 STAMP=746690737
    input archived log thread=1 sequence=27950 RECID=53816 STAMP=746698415
    input archived log thread=1 sequence=27951 RECID=53818 STAMP=746703697
    input archived log thread=1 sequence=27952 RECID=53820 STAMP=746709013
    input archived log thread=1 sequence=27953 RECID=53822 STAMP=746722121
    input archived log thread=1 sequence=27954 RECID=53824 STAMP=746723124
    channel ORA_DISK_1: starting piece 1 at 25-MAR-11
    channel ORA_DISK_1: finished piece 1 at 25-MAR-11
    piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\MWFPROD\BACKUPSET\2011_03_25\O1_MF_AN
    NNN_ACHIVELOG_BACKUP_6RT4F956_.BKP tag=ACHIVELOG_BACKUP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:15
    channel ORA_DISK_1: deleting archived log(s)
    archived log file name=C:\ORACLE\PRODUCT\11.1.0\DB_1\RDBMS\ARC27943_0704276183.0
    01 RECID=53801 STAMP=746647205
    archived log file name=C:\ORACLE\PRODUCT\11.1.0\DB_1\RDBMS\ARC27944_0704276183.0
    01 RECID=53803 STAMP=746651004
    archived log file name=C:\ORACLE\PRODUCT\11.1.0\DB_1\RDBMS\ARC27945_0704276183.0
    01 RECID=53805 STAMP=746661637
    archived log file name=C:\ORACLE\PRODUCT\11.1.0\DB_1\RDBMS\ARC27946_0704276183.0
    01 RECID=53807 STAMP=746664032
    archived log file name=C:\ORACLE\PRODUCT\11.1.0\DB_1\RDBMS\ARC27947_0704276183.0
    01 RECID=53809 STAMP=746679433
    archived log file name=C:\ORACLE\PRODUCT\11.1.0\DB_1\RDBMS\ARC27948_0704276183.0
    01 RECID=53811 STAMP=746690613
    archived log file name=C:\ORACLE\FLASH_RECOVERY_AREA\MWFPROD\ARCHIVELOG\2011_03_
    25\O1_MF_1_27949_6RS4S01O_.ARC RECID=53814 STAMP=746690737
    archived log file name=C:\ORACLE\FLASH_RECOVERY_AREA\MWFPROD\ARCHIVELOG\2011_03_
    25\O1_MF_1_27950_6RSD8X5B_.ARC RECID=53816 STAMP=746698415
    archived log file name=C:\ORACLE\FLASH_RECOVERY_AREA\MWFPROD\ARCHIVELOG\2011_03_
    25\O1_MF_1_27951_6RSKFZMB_.ARC RECID=53818 STAMP=746703697
    archived log file name=C:\ORACLE\FLASH_RECOVERY_AREA\MWFPROD\ARCHIVELOG\2011_03_
    25\O1_MF_1_27952_6RSPN313_.ARC RECID=53820 STAMP=746709013
    archived log file name=C:\ORACLE\FLASH_RECOVERY_AREA\MWFPROD\ARCHIVELOG\2011_03_
    25\O1_MF_1_27953_6RT3FQV3_.ARC RECID=53822 STAMP=746722121
    archived log file name=C:\ORACLE\FLASH_RECOVERY_AREA\MWFPROD\ARCHIVELOG\2011_03_
    25\O1_MF_1_27954_6RT4F456_.ARC RECID=53824 STAMP=746723124
    Finished backup at 25-MAR-11
    Starting Control File and SPFILE Autobackup at 25-MAR-11
    piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\MWFPROD\AUTOBACKUP\2011_03_25\O1_MF_S
    _746723145_6RT4FWOB_.BKP comment=NONE
    Finished Control File and SPFILE Autobackup at 25-MAR-11

  • Duplicate DBID

    Hi all,
    Just wondering what are the implication of having different DBNAME but same DBID of Production and Test Database.
    regards,
    Luckys

    While considering what Mark is saying, you may be able to distinguish your connection via target but once connected, and then when you backup the database, the backupset info. along with all other relevant information will be stored based on the dbid in the repository. So when it's time to restore or recover the database, the repository won't be able to distinguish among the different databases (since they share the same dbid value)
    Hope it's clear
    Regards

Maybe you are looking for

  • Waterfall Chats in OBIEE 11.1.1.6.6

    Hi All, I Can Add the this tags in Instance config.XML For water fall chats then i restart the opmn.that time presentation service never coming up. <Charts> <EnableWaterfall>true</EnableWaterfall> </Charts> OBIEE version is 11.1.1.6.6 Any help...

  • Desktop manager 7.1 fails to restore Contacts and Calendar from backups

    Today I discovered that I lost my contact and calendar lists on my playbook after upgrading to OS version 2.1.0.1032. As a precaution I backed up my device data and apps using desktop manager 7.1 and used windows explorer to duplicate my media folder

  • Acrobat Reader X security, comments disable

    Hello, we need to work with Acrobat Reader X. We generate a pdf from a doc file and we add security to disable printing and we enable commenting, but when we open it with Acrobat Reader X we see that printing is disabled, but commenting is disable to

  • A simple question about events

    I have created many event-based jobs. One task sends message to a queue to drive those tasks to run. If the task sends two message to the same event-based job in a very short time such that that job has not finished yet. Will that job run twice? And

  • Load Plan and variables

    Hi all, I cannot set value for variables inside load plan exceptions editor. Anyway I can inside Load Plan steps editor. Is it possible ? I need to set variable when exception is raised. How I can do it ? thanks