How to place data files in two places during duplication of database or refresh via RMAN test

Hi all

can you please find the solution and help me on this point

How to place data files in two places during duplication of database or refresh via RMAN test

Thank you

Ran

Hi all

Please send me as soon as possible if you have a solution.

Thank you.

Ran

Tags: Database

Similar Questions

  • How to put data files in two places where test discount via RMAN

    Hi all

    Please suggest on this.

    Thank you

    Billon.

    I realize that this post is old and the OP seems to have made a validation and then disappeared, but Recovery Manager (RMAN) is probably the best place to ask this question.

  • The file check failed error during duplication of database with RMAN

    I am using oracle 10 g R2 database and try to make a clone of the orcl database source on the same machine but with the structure of different directory with the name of test.

    When I run the command duplicate to create the test database, then the following error message is generted:
    D:\>rman target sys@orcl nocatalog auxiliary /
    
    Recovery Manager: Release 10.2.0.1.0 - Production on Fri Nov 11 12:13:26 2011
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    target database Password:
    connected to target database: ORCL (DBID=1264668332)
    using target database control file instead of recovery catalog
    connected to auxiliary database: TEST (not mounted)
    
    RMAN> @script.txt
    
    RMAN> Run {
    2> Allocate channel C1 type disk;
    3> allocate auxiliary channel 'adisk_0' type DISK;
    4> duplicate target database to "test";
    5> #BACKUP INCREMENTAL LEVEL 1 DATABASE;
    6> #BACKUP INCREMENTAL LEVEL 1 CUMULATIVE DATABASE;
    7> #BACKUP INCREMENTAL LEVEL 0 DATABASE;
    8> #delete obsolete;
    9> }
    allocated channel: C1
    channel C1: sid=140 devtype=DISK
    
    allocated channel: adisk_0
    channel adisk_0: sid=157 devtype=DISK
    
    Starting Duplicate Db at 11-NOV-11
    
    contents of Memory Script:
    {
       set until scn  12926250;
       set newname for datafile  1 to
     "D:\TEST\ORADATA\SYSTEM01.DBF";
       set newname for datafile  2 to
     "D:\TEST\ORADATA\UNDOTBS01.DBF";
       set newname for datafile  3 to
     "D:\TEST\ORADATA\SYSAUX01.DBF";
       set newname for datafile  4 to
     "D:\TEST\ORADATA\USERS01.DBF";
       set newname for datafile  5 to
     "D:\TEST\ORADATA\EXAMPLE01.DBF";
       set newname for datafile  6 to
     "D:\TEST\ORADATA\GL.DBF";
       restore
       check readonly
       clone database
       ;
    }
    executing Memory Script
    
    executing command: SET until clause
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    Starting restore at 11-NOV-11
    
    channel adisk_0: starting datafile backupset restore
    channel adisk_0: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to D:\TEST\ORADATA\SYSTEM01.DBF
    restoring datafile 00002 to D:\TEST\ORADATA\UNDOTBS01.DBF
    restoring datafile 00003 to D:\TEST\ORADATA\SYSAUX01.DBF
    restoring datafile 00004 to D:\TEST\ORADATA\USERS01.DBF
    restoring datafile 00005 to D:\TEST\ORADATA\EXAMPLE01.DBF
    restoring datafile 00006 to D:\TEST\ORADATA\GL.DBF
    channel adisk_0: reading from backup piece D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_07\O1_MF_NNND0_TAG20111107T220822_7CJ
    P
    channel adisk_0: restored backup piece 1
    piece handle=D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_07\O1_MF_NNND0_TAG20111107T220822_7CJ44MH4_.BKP tag=TAG20111107T220
    channel adisk_0: restore complete, elapsed time: 00:01:46
    Finished restore at 11-NOV-11
    sql statement: CREATE CONTROLFILE REUSE SET DATABASE "TEST" RESETLOGS ARCHIVELOG
      MAXLOGFILES     16
      MAXLOGMEMBERS      3
      MAXDATAFILES      100
      MAXINSTANCES     8
      MAXLOGHISTORY      292
     LOGFILE
      GROUP  1 ( 'D:\TEST\ORADATA\REDO01.LOG' ) SIZE 50 M  REUSE,
      GROUP  2 ( 'D:\TEST\ORADATA\REDO02.LOG' ) SIZE 50 M  REUSE,
      GROUP  3 ( 'D:\TEST\ORADATA\REDO03.LOG' ) SIZE 50 M  REUSE
     DATAFILE
      'D:\TEST\ORADATA\SYSTEM01.DBF'
     CHARACTER SET WE8MSWIN1252
    
    
    contents of Memory Script:
    {
       switch clone datafile all;
    }
    executing Memory Script
    
    datafile 2 switched to datafile copy
    input datafile copy recid=1 stamp=766930525 filename=D:\TEST\ORADATA\UNDOTBS01.DBF
    datafile 3 switched to datafile copy
    input datafile copy recid=2 stamp=766930525 filename=D:\TEST\ORADATA\SYSAUX01.DBF
    datafile 4 switched to datafile copy
    input datafile copy recid=3 stamp=766930526 filename=D:\TEST\ORADATA\USERS01.DBF
    datafile 5 switched to datafile copy
    input datafile copy recid=4 stamp=766930526 filename=D:\TEST\ORADATA\EXAMPLE01.DBF
    datafile 6 switched to datafile copy
    input datafile copy recid=5 stamp=766930526 filename=D:\TEST\ORADATA\GL.DBF
    
    contents of Memory Script:
    {
       set until scn  12926250;
       recover
       clone database
        delete archivelog
       ;
    }
    executing Memory Script
    
    executing command: SET until clause
    
    Starting recover at 11-NOV-11
    channel adisk_0: starting incremental datafile backupset restore
    channel adisk_0: specifying datafile(s) to restore from backup set
    destination for restore of datafile 00001: D:\TEST\ORADATA\SYSTEM01.DBF
    destination for restore of datafile 00002: D:\TEST\ORADATA\UNDOTBS01.DBF
    destination for restore of datafile 00003: D:\TEST\ORADATA\SYSAUX01.DBF
    destination for restore of datafile 00004: D:\TEST\ORADATA\USERS01.DBF
    destination for restore of datafile 00005: D:\TEST\ORADATA\EXAMPLE01.DBF
    destination for restore of datafile 00006: D:\TEST\ORADATA\GL.DBF
    channel adisk_0: reading from backup piece D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_09\O1_MF_NNND1_TAG20111109T223628_7CO
    P
    channel adisk_0: restored backup piece 1
    piece handle=D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_09\O1_MF_NNND1_TAG20111109T223628_7COGJZVT_.BKP tag=TAG20111109T223
    channel adisk_0: restore complete, elapsed time: 00:00:07
    channel adisk_0: starting incremental datafile backupset restore
    channel adisk_0: specifying datafile(s) to restore from backup set
    destination for restore of datafile 00001: D:\TEST\ORADATA\SYSTEM01.DBF
    destination for restore of datafile 00002: D:\TEST\ORADATA\UNDOTBS01.DBF
    destination for restore of datafile 00003: D:\TEST\ORADATA\SYSAUX01.DBF
    destination for restore of datafile 00004: D:\TEST\ORADATA\USERS01.DBF
    destination for restore of datafile 00005: D:\TEST\ORADATA\EXAMPLE01.DBF
    destination for restore of datafile 00006: D:\TEST\ORADATA\GL.DBF
    channel adisk_0: reading from backup piece D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_10\O1_MF_NNND1_TAG20111110T221428_7CR
    P
    channel adisk_0: restored backup piece 1
    piece handle=D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_10\O1_MF_NNND1_TAG20111110T221428_7CR1MQFO_.BKP tag=TAG20111110T221
    channel adisk_0: restore complete, elapsed time: 00:00:16
    
    starting media recovery
    
    archive log thread 1 sequence 524 is already on disk as file D:\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2011_11_11\O1_MF_1_524_7CS
    C
    archive log filename=D:\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2011_11_11\O1_MF_1_524_7CSG2HVT_.ARC thread=1 sequence=524
    media recovery complete, elapsed time: 00:00:14
    Finished recover at 11-NOV-11
    
    contents of Memory Script:
    {
       shutdown clone;
       startup clone nomount ;
    }
    executing Memory Script
    
    database dismounted
    Oracle instance shut down
    
    connected to auxiliary database (not started)
    Oracle instance started
    
    Total System Global Area     230686720 bytes
    
    Fixed Size                     1248236 bytes
    Variable Size                 67109908 bytes
    Database Buffers             155189248 bytes
    Redo Buffers                   7139328 bytes
    sql statement: CREATE CONTROLFILE REUSE SET DATABASE "TEST" RESETLOGS ARCHIVELOG
      MAXLOGFILES     16
      MAXLOGMEMBERS      3
      MAXDATAFILES      100
      MAXINSTANCES     8
      MAXLOGHISTORY      292
     LOGFILE
      GROUP  1 ( 'D:\TEST\ORADATA\REDO01.LOG' ) SIZE 50 M  REUSE,
      GROUP  2 ( 'D:\TEST\ORADATA\REDO02.LOG' ) SIZE 50 M  REUSE,
      GROUP  3 ( 'D:\TEST\ORADATA\REDO03.LOG' ) SIZE 50 M  REUSE
     DATAFILE
      'D:\TEST\ORADATA\SYSTEM01.DBF'
     CHARACTER SET WE8MSWIN1252
    
    released channel: C1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 11/11/2011 12:16:21
    RMAN-06136: ORACLE error from auxiliary database: ORA-01503: CREATE CONTROLFILE failed
    ORA-01504: database name 'TEST' does not match parameter db_name 'orcl'
    
    RMAN> **end-of-file**
    
    RMAN>
    Script.txt
    Run {
    Allocate channel C1 type disk;
    allocate auxiliary channel 'adisk_0' type DISK;
    duplicate target database to "test";
    }
    Kindly help?

    Published by: Moazzam November 11, 2011 12:22

    Your definition of the Windows service uses a different inittest.ora or spfiletest.ora - not the one that you have edited.

    Hemant K Collette

  • How to move data files from drive C to drive E in MS SQL Server 2005 used for hyperion

    Hi all

    We have installed Hyperion with MS SQL Server 2005. Hyperion 11.1.1.3 works well.

    But in the SQL server data files will register in C drive only. But we have to back up the files in drive E.

    I used the Attach and Detach method to move files from C drive to E drive.

    After that, I am reconfiguring the EPM system. but I get errors in the configuration.

    Now I get the planning of database failed when Confiuring planning.

    Configuration of data source interface has failed in the Configuration of EPMA.

    Please suggest the best way to make this scenario.


    Thank you

    Mady

    Why do you need to reconfigure after that move data files, if it is done properly it should be without data loss.

    See you soon

    John

    http://John-Goodwin.blogspot.com/

  • CAN I RECOVER DELETED DATA FILE AND ITS TABLESPACE BY USING FLASHBACK DATABASE

    Hello!

    I CREATED THE TABLESPACE WITH ITS DATA FILE.

    SQL > create tablespace usmantbs datafile 'E:\oracle\product\10.2.0\oradata\orcl\usman.dbf' recording petit_fichier the size of 10 M extent management local segment space management auto;

    THEN, I CREATED A USER AND HIM ENTRUST THIS TABLESPACE.

    SQL > create default profil_utilisateur identified by Neil Leal Microsoft account unlock default tablespace usmantbs;
    SQL > grant connect, resources for Neil;

    I CONNECTED WITH Neil as USER AND CREATED a TABLE.

    SQL > conn Leal/Leal
    SQL > create table baseball (id number (9));

    SQL > select current_scn from v$ database;

    CURRENT_SCN
    ---------------------
    545863

    Then I deleted the tablespace including contents and data files...

    SQL > drop tablespace usmantbs including content and data files;

    I have no backup of this data file, but my database is in archive log...

    So I can... .flashback database to the SNA 545863 as it was before the fall... to get back my along its tablespace data file
    Wil I get my datafile back or not? Help, please...

    You can test it by yourself easily :) You will not be able to open your database
    After getting the error, just rename this data file and flashback again. Then open your database

    C:\Documents and Settings\Administrator>sqlplus "/as sysdba"
    
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat Aug 1 14:20:34 2009
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup mount
    ORACLE instance started.
    
    Total System Global Area  293601280 bytes
    Fixed Size                  1248624 bytes
    Variable Size              96469648 bytes
    Database Buffers          192937984 bytes
    Redo Buffers                2945024 bytes
    Database mounted.
    
    SQL> alter database archivelog;
    
    Database altered.
    
    SQL> alter database flashback on;
    
    Database altered.
    
    SQL> alter database open;
    
    Database altered.
    
    SQL> create tablespace tb datafile 'c:\tb.df' size 1m;
    
    Tablespace created.
    
    SQL> create user tb identified by tb;
    
    User created.
    
    SQL> grant dba to tb;
    
    Grant succeeded.
    
    SQL> alter user tb default tablespace tb;
    
    User altered.
    
    SQL> create table tb (id number);
    
    Table created.
    
    SQL> select current_scn from v$database;
    
    CURRENT_SCN
    -----------
         547292
    
    SQL> drop tablespace tb including contents and datafiles;
    
    Tablespace dropped.
    
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup mount
    ORACLE instance started.
    
    Total System Global Area  293601280 bytes
    Fixed Size                  1248624 bytes
    Variable Size              96469648 bytes
    Database Buffers          192937984 bytes
    Redo Buffers                2945024 bytes
    Database mounted.
    
    SQL> flashback database to scn 547292;
    flashback database to scn 547292
    *
    ERROR at line 1:
    ORA-38795: warning: FLASHBACK succeeded but OPEN RESETLOGS would get error
    below
    ORA-01245: offline file 5 will be lost if RESETLOGS is done
    ORA-01111: name for data file 5 is unknown - rename to correct file
    ORA-01110: data file 5: 'C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\UNNAMED00005'
    
    SQL> alter database open resetlogs;
    alter database open resetlogs
    *
    ERROR at line 1:
    ORA-01245: offline file 5 will be lost if RESETLOGS is done
    ORA-01111: name for data file 5 is unknown - rename to correct file
    ORA-01110: data file 5: 'C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\UNNAMED00005'
    
    SQL> select name from v$datafile;
    
    NAME
    --------------------------------------------------------------------------------
    
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\SYSTEM01.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\UNDOTBS01.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\SYSAUX01.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\USERS01.DBF
    C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\UNNAMED00005
    
    SQL> alter database create datafile 'C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\UNNAMED00005' as 'c:\tb.dbf';
    
    Database altered.
    
    SQL> flashback database to scn 547292;
    
    Flashback complete.
    
    SQL> alter database open resetlogs;
    
    Database altered.
    
    SQL>
    
    SQL> select * from tb;
    
    no rows selected
    
    SQL> select name from v$datafile;
    
    NAME
    --------------------------------------------------------------------------------
    
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\SYSTEM01.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\UNDOTBS01.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\SYSAUX01.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\USERS01.DBF
    C:\TB.DBF
    
    SQL> select name from v$tablespace;
    
    NAME
    ------------------------------
    SYSTEM
    UNDOTBS1
    SYSAUX
    USERS
    TEMP
    TB
    
    6 rows selected.
    
    SQL>
    

    - - - - - - - - - - - - - - - - - - - - -
    Kamran Agayev a. (10g OCP)
    http://kamranagayev.WordPress.com
    [Step by step installation Oracle Linux and automate the installation by using Shell Script | http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

    Published by: Kamran Agayev, a., July 27, 2009 14:38

  • Files without a NAME during the Flashback Database

    Hi all

    Why, in flashback, database, retrieve a tablespace has dropped the datafile (s) consisting of within table get renamed to UNNAMEDnnn? I was going through some examples on the internet but did not find any concrete reason as to why this happens during the flashback recovery. If the tablespace can be recreated during the process, why not data files that compose?

    Could someone help me please in my understanding.

    Thank you.

    Prithwish Adhikari wrote:

    Hello

    I was talking about the flashback database to retrieve a tablespace has fallen. Please find below the link

    http://www.DBA-Oracle.com/t_rman_159_restore_dropped_tablespace.htm

    My question is

    "

    flashback

    database to the SNA 460217.

    database of flashback to the SNA 460217

    *

    ERROR on line 1:

    ORA-38795: WARNING: flashback has managed but open resetlogs would get error

    below

    ORA-01245: offline file 5 will be lost if resetlogs is done

    ORA-01111: name for the data file 5 is unknown - rename it to the correct file

    ORA-01110: data file 5: ' / u01/oracle/product/10.2.0/db_1/dbs/UNNAMED00005'

    "

    Why, in flashback, database, the data file associated with the storage space gets renamed to unnamed?

    Thanks for the link and new info.

    The reason is the same as in these quotes from doc that I have provided. As ORA-01111 indicates the name of the actual file is unknown so Oracle creates a unique name, then stops recovery so that you can provide the name and location.

    Why, during the flashback database, retrieve a tablespace has fallen...

    This formulation and the wording of the article, is probably what is mislead you. You cannot recover a tablespace using FLASHBACK DATABASE:

    Here is the doc for FLASHBACK DATABASE

    http://docs.Oracle.com/CD/B28359_01/backup.111/b28273/rcmsynta023.htm

    Notes A Flashback Database use operation applies to the entire base. You cannot flash back, individual storage spaces. A Flashback Database operation is similar to a point-in-time data recovery (DBPITR) with RECOVER , but RMAN uses flashback logs to undo changes to a point before the time runs out or SNA

    See that second sentence? You NEED to recover the entire database and, as this quote from doc says, made it like CAMILLE by RECOVER.

    In this example, the storage space AND data files were dropped. So please check the doc to DROP TABLESPACE

    https://docs.Oracle.com/CD/B28359_01/server.111/b28286/statements_9004.htm

    Oracle database deletes all metadata about the space of storage data files and all the data dictionary tempfiles in the tablespace. The database also automatically removes the operating system all data files managed by Oracle and tempfiles in the tablespace. Other data files and tempfiles are not removed from the operating system unless you specify INCLUDING CONTENTS AND DATAFILES .

    See? No additional data in the dictionary for the tablespace or data files. Real datafiles is more if they were managed by Oracle. But there MAY be data files of the operating system if you do NOT use this last clause.

    If Oracle recreates the files using unique names and then allows you to CONFIRM that the name and location should really be.

    You have a problem with that? Or just try to understand?

  • How to compare data from the two table column by column and connect the result compared to the separate table

    Hello experts...

    I'm new to this forum and Oracle coding complex.

    I have a task in which I want to compare two tables with the same structure, same columns. My Oracle database is 11g Release 2. I want this column-by-column comparison and save the result in a separate table. (say result_table)

    The structure of the table would be as follows:

    SQL > desc emp;

    Name                                      Null?    Type

    ----------------------------------------- -------- ----------------------------

    EMPNO NOT NULL NUMBER 4

    ENAME VARCHAR2 (10)

    JOB                                                VARCHAR2(9)

    MGR                                                NUMBER(4)

    HIREDATE DATE

    SAL                                                NUMBER(7,2)

    COMM                                               NUMBER(7,2)

    DEPTNO NUMBER (2)

    SQL > emp_comp desc;

    Name                                      Null?    Type

    ----------------------------------------- -------- ----------------------------

    EMPNO NOT NULL NUMBER 4

    ENAME VARCHAR2 (10)

    JOB                                                VARCHAR2(9)

    MGR                                                NUMBER(4)

    HIREDATE DATE

    SAL                                                NUMBER(7,2)

    COMM                                               NUMBER(7,2)

    DEPTNO NUMBER (2)

    Both of the tables EMPNO is the primary key.

    I want to compare these two tables based on the EMPNO (EMPNO even is both tables).

    The result log table would be as follows:

    SQL > create table result_table

    2 (check_sr_no, number (5),)

    table_name 3 varchar2 (30),

    ROW_ID 4 varchar2 (20).

    column_name 5 varchar2 (20).

    6 column_data varchar2 (1000).

    compared_by 7 varchar2 (10));

    Table created.

    SQL > alter table result_table

    2 Add the constraint result_table_pk

    3 primary key (check_sr_no);

    Modified table.

    The name of the table and the name of the column will not be hardcoded (based parameter by user)

    I tried to use the dbms_comparison package, but do not find comparison of column to column.

    I also used by using the query operator LESS. It's showing the difference in rank.

    I also went to https://asktom.oracle.com/pls/apex/f?p=100:11:0:P11_QUESTION_ID:2151582681236

    Your help will be very appreciated.

    Thank you

    DK

    Tom Kyte has answered this question MANY times over the years. Here are links for its solution

    https://asktom.Oracle.com/pls/Apex/f?p=100:11:0:P11_QUESTION_ID:4934799800346640847

  • How can I share files between two computer that running 32-bit windows 8 and the second running 64-bit windows 8

    I am unable to share files between 2 computers 32-bit and 64-bit windows 8. Please tell me a solution.

    The number of bits of the processor is not influence it.  If you are having problems sharing files, the bit of the processor is just a coincidence.

    What is the error you get when you try to share a file? And what method do you use to share?  Homegroup?  Right-click to stock option?  Or something else?

  • How to write data files with dot-delimited values in the output interface

    Hello

    We are looking for the value below with. bounded by the

    JANUARY 12, 14; MTS;     12,3400

    14 JANUARY 14; MTS;    124,3442

    14 JANUARY 14; MTS;      4,3400

    14 FEBRUARY 14; HDB DKK;       3446

    14 FEBRUARY 14; HDB DKK STREET;    346,3446

    14 FEBRUARY 14; TEST;    346,3446

    February 16, 14; DKK Til CHF;       1406

    I used to_char utl file. but no luck.

    UTL_FILE.put_line (x_id, x1.dato |) ';' || x 1 .valuta_fra_og_til | ';' || To_char (x 1. Kurs, '999999D9999'));

    Can you please on it.

    Try:

    To_char (x 1. Kurs, '999999D9999','NLS_NUMERIC_CHARACTERS = ".,"')

  • How to filter the file type and size during uploadind files in APEX

    Hello

    I was wondering how I can do to validate the size of a file, before moving in my table? I want to filter the type of file, but for this one, I think I can use regular expressions in a validation process.

    I don't know if there is a way to read the size of the file, even before sending it into the temporary table.

    Thank you

    Bodart

    Hi salma,

    As far as I KNOW, you need to create a validation APEX (PL/SQL Returns Boolean or returns error text), which interrogate the details of the table apex_flow_files file. Here you can get the file type and size etc.

    So just to validate and if the validation fails, then delete the apex_flow_files and riase error message file.

    Kind regards
    Hari

    P.S. Please note that, if there are other validations apex on your page, and if they fail, always apex will load the file in the apex_flow_files table. It is sensible to create a validation (PL/SQL) that will trigger (condition) when online validation errors occurred. Make sure it is the LAST commit on your page in the sequence. And here you can write code to delete the table apex_flow_files.

    Published by: Hari_639 on Sep 20, 2012 22:09

  • ? How to pass data Grid control to the control of the database management

    Hello

    I installed the database 10g as a node of the grid. But now I want out of my database with the database control gird for control and management. Is there anyone made this bofore. How could I do to cope?

    Any help will be greatly appreciated.
    Thank you.

    If the repositories of grd control hosted on the same server
    then cd $OMS_ORACLE_HOME/sysman/admin/emdrep/bin
    $>. / RepMananger repository_host repository_port repository_sid-sys_password votre_mot_de_passe-drop in action (it hangs and unquiesces the database - it is but normal).

    Once dumped successfully, use following (check sysman /mgmt_view user exists or abandoned), also check mgmg_tablespace and mgmt_ecm_depot_ts exist or dropped).

    If configured on the server different (and all that)
    ==============================

    $ORACLE_SID set
    $> emca - config dbcontrol db-rest create and follow the direction

  • No Archivelog database - Undo Data files Deleted-how open database?

    I do a few tests in laboratory server.

    Unforunately Undo Tablespace data files are deleted from the server.
    Database is running in no archivelog Mode and I have not any any type of backup.

    Last week, I did only read only work with the database. So not really concern how I is coward.

    The biggest concern is how to open the database with existing data files?

    Kind regards
    Sumit

    Published by: Sumit2 on August 27, 2009 12:57

    If no active transaction or data required by one of the session to restore, then it will be difficult to recover these transactions and your database data will be in a State of incoherence. As you only read only activity you can safely recover the database.

    Comment just undo tablespace and undomanagement parameters init.ora file and restart the database.

    Once the database is in place create undo tablespace and assigning like default undo tablespace tablesapce.

  • data file recovery

    Hi experts,
    If someone rename a data file then is it possible for the Rman recover the data file by using this command.


    SQL ' alter database datafile offline 4.
    restore data file 4;
    recover datafile 4;
    SQL ' alter database datafile 4 online.

    Concerning
    Rajat

    If someone deletes a data file from the current location, RMAN restores it this place. This is normal business.

    Werner

  • DAT files attached to emails - why I can't open them?

    Adobe 9 says that it might be the coding that is wrong — it's what and how to fix it? Have tried to use other programs, but without success

    You don't have a program on your system to open a .dat file and you will not be able to get one or the other because it can be actually any type of file.  In some cases, you can open them if you know the actual file type, and in others you can open them if you use the same e-mail program AND you are the original sender!  It's a problem without a clear solution, other than trial and error with best guess (or, contact the sender to find out exactly what it was attached).

    If the file is winmail.dat, then it is caused by e-mail programs used.  Here's the info on it: http://facstaff.gpc.edu/~jbenson/resource/winmail.htm.  This sometimes happens with attachments in e-mail programs, especially when each person uses a different e-mail program (or with some programs in particular as Yahoo mail email).

    Here is an article on the opening of the .dat files: http://www.addictivetips.com/windows-tips/open-dat-file-extension-in-windows-quickly/.  It boils down to determine what was the original program who made it and what was his type of original file (so you can change it and use the right program to open the file).  One way is to ask the sender of the email is what the .dat file - they can give you all another name of file and then you know and can just change the extension, convert the file or get a program to open this type of file.

    Here is another article on how to open .dat files in Vista: http://www.online-tech-tips.com/computer-tips/how-to-open-dat-files/.  He said much the same as the previous article, but provides some additional information and advice to find the correct file type.

    Here's a third article on opening the .dat files: http://pcsupport.about.com/od/fileextensions/f/dat-file.htm.  Among other things, he suggested to try Notepad first, since this program opens up a lot of files and maybe .dat file text.

    From your post, it seems that this is not an Adobe PDf file - it is one down.

    I hope this helps.

    Good luck! Lorien - MCSA/MCSE/network + / A +.

  • .dat files

    How can - I open the winmail.dat files

    Hello

    How to read and open. DAT in Windows files
    http://www.online-tech-tips.com/computer-tips/how-to-open-dat-files/

    I hope this helps.

    Rob - bicycle - Mark Twain said it is good.

Maybe you are looking for

  • How can I get high back bar that shows the description of the page and the Firefox logo?

    The bar at the top of Firefox that appears on each program above the menu bar disappeared. As in, the bit that normally displays the title of the page and the firefox logo. Now, it seems impossible to distinguish from Chrome. I'm not using the full s

  • Shut down / restarts when the firewall is enabled on Satellite L30

    I get an alert saying that my firewall is disabled. If I click on the alert, he told me that the windows firewall and Norton firewall are turned off. If I go to Norton Security Center it says firewall is enabled. Free Norton was installed when I boug

  • ThinkPad X 220 fan error

    Hello community of Lenovo, Today my Thinkpad x 220 has stopped working and gives me a fan error. Is anyone able to advise how to solve this problem? I was able to reboot once since but had no chance once again. Previously I had overheating, problems

  • Black 2 8 turn off keyboard sound?

    How can I disable the keyboard on my Lenovo Miix 2 8 tablet based on windows?

  • Need driver Vista WLan for Satellite L45-S7423

    Hello! I have this Satellite L45-S7423 and im a time really hard to make the wirelless work. I'm using Windows Vista - Home Premium. (Its a version in Portuguese - BR)The problem is, I had to re - install this windows and I don't have the intalaltion