Export of Oracle Database objects

Hi,
I have question on exporting oracle objects.
Can we export all of oracle objects in form of xml file?
Like we have exp command to take the dump of database, is there a way to take db dump in form of xml.
Why xml, because it can be easily read by other languages like Java, plsql, VB and later objects can be created in Database.
Please suggest me a way to achieve the requirement.
Thanks in advance
Regards,
Prasad

user10302855 wrote:
Hi,
I have question on exporting oracle objects.
Can we export all of oracle objects in form of xml file?
Like we have exp command to take the dump of database, is there a way to take db dump in form of xml.
Why xml, because it can be easily read by other languages like Java, plsql, VB and later objects can be created in Database.
Please suggest me a way to achieve the requirement.I am not sure that your requirement is a valid requirement. When you talk about XML, do you think that it can store data like a datafile does? I am not an XML expert but as much as I know about it, it just have tags and you don't want to show your client's credit card number in a text based XML based file under a tag called CreditCard would you? What you can do is that you can get the structure of the table of yours in the XML format using the package dbms_metadata . The data is going to be , at least in my knowledge, would be exported through the export binary and not in XML. Again, I am not an XML expert so I may be wrong too.
Aman....

Similar Messages

  • What is maximum  length of oracle database objects name

    Hi all,
    Can anyone tell me what is maximum length of oracle database objects name .
    I guess it is 30 ,correct me if i am wrong thank you.
    regards,
    P Prakash

    Some objects (like synonyms or java classes) can have longer names than 30 chars:
    SQL> create or replace synonym empempempempempempempempempempempempemp for emp
    Synonym created.though internally oracle will generate short names for such objects:
    SQL> select synonym_name from user_synonyms where synonym_name like '%EMPEMPEM%'
    SYNONYM_NAME                 
    /969ea190_EMPEMPEMPEMPEMPEMPEM
    1 row selected.and not always will the long name be actually usable:
    SQL> select * from empempempempempempempempempempempempemp
    Error at line 1
    ORA-00972: identifier is too long

  • Exports with Oracle Database Vault

    Hi!
    I've running a Database in version 10.2.0.4 and it has installed Oracle Database Vault, wich is running quite well...
    I'm trying to export a schema that is protected with a REALM and only the owner of that schema has permision to access the data. So, users like sys o system can´t access to the data of the schema. It's the aim of Database Vault and it do it well.
    The problem is that I'm performing a export of that schema and it run successfully! I have the .dmp file which I can import in other Databases (with Database Vault no installed) and it runs perfectly!
    So... if Database Vault avoid that user sys can access the data, why it permit to perfom EXPORTS??
    Thank,
    tom

    Bump. Thanks.

  • How to install Oracle Database objects for BPA repository?

    Hello,
    I have installed Oracle database (10.2.0.1) EE.
    I have run the following command to install BPA repository and site manager.
    ./install_bpr10.1.3.4.271679.sh -bpr_type BS_SM -jvm ./bpa10.1.3.4/jdk1.5.0/ -dbserver rstnxlin011.oracle.com -dbport 1521 -dbinstance pva011
    Where are the database object creation scripts? I am sure I still have to create ARIS objects in the database.
    Mustafa

    Within my installation i could find the scripts on Disk 2 (where the windows installation of the Repository resides) in the folder DBMS/Oracle.

  • Exportation of oracle database

    I've a problem,
    I've an important Oracle DATABASE that I want to export to SAGE. Too many records are in this database, so, it will be very difficult for me to retype all these informations.
    Can I get a help?
    PS: operating system of Oracle is: WINDOWS NT v 4.0
    operating system oe SAGE is: WINDOWS 2000, WINDOWS SERVER 2033
    Very thanks for your reply

    Yes Sybrand. You are right.
    Please go thru' below doc id for reference.
    Support Position for Oracle Products Running on VMWare Virtualized Environments [ID 249212.1]
    CheeRs
    Karthikeyan
    Oracle Apps DBA

  • Enterprise Manager Job for Scripting DataPump Export for Oracle Database Running On MS Windows Server 2008

    Greetings,
    I would like an example of an Enterprise Manager Job that uses an OS Script for MS Windows that would effectively run a datapump export of my Oracle 11g database (11.2.0.3) running on a Windows 2008 server.  My OEM OMS is running on a Linux server with an Oracle 12c repository.  I'd like to be able to set environment variables for date and time, my export file name (that includes SID, and export date and time, job name, and other information pertinent to the datapump export.  Thus far, I have been unsuccessful with using the % delimiter around my variables.  Also, I have put the "cmd/c" as the "Interpreter" but I am not getting anywhere in a hurry :-( 
    Thanks  Million!!!
    Mike

    1. Try to reach server with IP )(bypath name resolution)
    2. Disabling IPv6 is not good idea
    3. What is server operating system and what is workstation operating system?
    4. Is this new or persistent problkem?
    5. If server and workstation has different SMB version, set higher to lower one (see Petri web for procedure)
    6. Uninstall AV with removal tool and test it without AV
    7. Use network monitor to diagnose network traffic.
    M.

  • Export for oracle database 10g for one month

    Dear friends,
    I want to create new instance for development so i want only limited days of data in new instance say one month.
    Can any one please do tell me how to take the export of only one month or limited days from the production database ? as my production database size too big.
    please do help me...
    Thanks

    Dear friends,
    I want to create new instance for development so i
    want only limited days of data in new instance say
    one month.
    Can any one please do tell me how to take the export
    of only one month or limited days from the production
    database ? as my production database size too big.Check out the query or sample syntax for data pump export.

  • Map ADF BC Entities to Oracle database object-relational datatypes

    Is it possible to base ADF BC Entity objects on oracle DB abstract datatypes or collections?
    I see don't see reference to this in the Fusion Dev. Guide for 11g.

    Thanks for your reply Steve.
    To better understand your use case, what role is the passed-in application module playing, compared with the root application module that any entity object can access already?Somehow I missed that API. I tried this in my example application (see "PolymorphicResourceTaskApp-v0.02.zip":
    public class ResourceTaskImpl
         extends EntityImpl
         public void executePreferredAction()
              executePreferredAction(getRootApplicationModule());
         public void executeFallbackAction()
              executeFallbackAction(getRootApplicationModule());
         protected ApplicationModule getRootApplicationModule()
              DBTransaction vDBTransaction = getDBTransaction();
              return vDBTransaction.getRootApplicationModule();
    }This allows me to implement my "actions" (methods) without passing in an Application Module instance.
    Or would you suggest a different way to get the root Application Module in an Entity Object implementation?
    regards
    Jan Vervecken

  • Oracle database object name 30 characters  limit

    Hi,
    I'm working with Oracle since version 8 and I know about this restriction. I was hopping that this will be eliminated in the future, but I saw that in Oracle 11i the same restriction exists.
    Does anyone know if it will be eliminated in a future release?
    I would like to know if there is a reason why this limitation exists. We are currently developing an JPA application and we have tables that have name with more than 30 characters.
    Thanks!

    because all table/index names must be stored in the data dictionary and that storage is only allocated for 30 characters
    Also check
    http://stackoverflow.com/questions/1378133/why-are-oracle-table-column-index-names-limited-to-30-characters

  • Oracle Database Export - 8.1.7.4 on linux

    Hello All,
    With reference to the below Link.
    Oracle Upgrade 8.1.7.4 to 10g in Red hat linux
    I am trying to export the oracle database (8.1.7.4) in our landscape using the installation master - system copy. But I am not able to export the database due  to the  options like (database version 920 and 102) and due to this not able to export the 817 database. But In the sap press books guide they clearly mentioned that its possible to export the database of oracle 817 database. So, I believe I am using the wrong isntallation master.
    If anyone having idea about exporting the 817 oracle database, please let me know
    Enviornment : 8.1.7.4 database with linux2.4  and SAP R/34.7
    Kind Regards
    VIjay

    Hello Markus,
    Thanks for your reply.
    The error as shown below. Our landscape details SAP R/3 4.7 110 , oracle 8.1.7.4 and linux
    TRACE      [iaxxccntrl.cpp:595]
               CController::stepExecuted()
    The step generalR3loadParameters with key SAPSYSTEM_DBEXP|ind|ind|ind|ind|ind|0|SAPSYSTEM|ind|ind|ind|ind|ind|0|SAPComponent|ind|ind|ind|ind|ind|0|DatabaseExport|ind|ind|ind|ind|ind|0|DbExport|ind|ind|ind|ind|ind|0|DatabaseLoadForExport|ind|ind|ind|ind|ind|0|generalR3loadParameters has been executed successfully.
    TRACE      [iaxxejsexp.cpp:138]
               EJS_Installer::writeTraceToLogBook()
    loadStrategy = ALPHABETICAL
    TRACE      [iaxxcdgprc.cpp:588]
               CCheckCollectingWalker::processDialogs()
    The controller is about to execute the dialog step SAPSYSTEM_DBEXP|ind|ind|ind|ind|ind|0|SAPSYSTEM|ind|ind|ind|ind|ind|0|SAPComponent|ind|ind|ind|ind|ind|0|DatabaseExport|ind|ind|ind|ind|ind|0|DbExport|ind|ind|ind|ind|ind|0|DatabaseLoadForExport|ind|ind|ind|ind|ind|0|DatabaseLoad_Db_Hook|ind|ind|ora|ind|ind|0|diPrepareProgramEnvironment
    ERROR      2009-10-12 19:51:28 [iaxxinscbk.cpp:219]
               abortInstallation
    CJS-00081  Assertion failed: OraConfigFile.setFilePath: Argument filePath is not valid: '/oracle/DEV/920_32/network/admin/tnsnames.ora'
    TRACE      [iaxxejsbas.hpp:156]
               EJS_Base::dispatchFunctionCall()
    JS Callback has thrown exception
    ERROR      2009-10-12 19:51:28 [iaxxejsctl.cpp:241]
               EJS_ControllerImpl::executeScript()
    FJS-00012  Error when executing script.
    ERROR      2009-10-12 19:51:28 [iaxxccntrl.cpp:579]
               CController::stepExecuted()
    FCO-00011  The step diPrepareProgramEnvironment with step key SAPSYSTEM_DBEXP|ind|ind|ind|ind|ind|0|SAPSYSTEM|ind|ind|ind|ind|ind|0|SAPComponent|ind|ind|ind|ind|ind|0|DatabaseExport|ind|ind|ind|ind|ind|0|DbExport|ind|ind|ind|ind|ind|0|DatabaseLoadForExport|ind|ind|ind|ind|ind|0|DatabaseLoad_Db_Hook|ind|ind|ora|ind|ind|0|diPrepareProgramEnvironment executed with status ERROR.
    TRACE      [iaxxgenimp.cpp:428]
               processUserInput()
    got notification...
    TRACE      [iaxxsubjct.cpp:58]
               notify()
    releasing notifyLock

  • Where is the database object administration GUI in Oracle XE 11g?

    Please read my whole question, because I'm sure people will misunderstand, and tell me to load http://localhost:8080/apex in my browser.  I know that is there.
    I am a previous user of Oracle XE 10g, but I just installed Oracle Express 11g. I only want to use it to get a local instance of Oracle database. The 10g APEX UI provided an easy way to administer database objects (users, schemas, and the like), but it appears the 11g APEX UI is some kind of weird application development environment that I don't want to use. It doesn't even seem aware of the schemas I created in the database using SQL Plus.
    So, where is the regular admin GUI for Oracle database objects like users/schemas (i.e. something that will list the schemas that exist in the database, and allow me to add or delete them)? Or does 11g force you to do that using SQL (in which case, I'm going to go back to 10g).
    Thanks,
    Jeff

    No, SQL workshop is not what I want.
    Basically, I don't want to deal with this concept of a "workspace" at all. It's useless to me and just gets in my way. All I want is a a UI where I can view a list of the schemas that exist in the database, and manipulate them easily.
    I have TOAD, so I could use that, but I liked the old 10g administration GUI, since it provided the exact functionality at the exact level of complexity that I needed.

  • Can I use 10g datapump utility expdp to export an 8i database?

    Hi,
    Can I use 10g datapump utility "expdp" to export an 8i database objects? The reason I'm asking this is because I would like to use 10g impdp utility to import the dumps to 10g.
    Thanks in advance,
    Raj

    No, you can't use 10g datapump utility "expdp" to export an 8i database objects.
    The legal values for the VERSION parameter are as follows:
    COMPATIBLE - This is the default value. The version of the metadata corresponds to the database compatibility level. Database compatibility must be set to 9.2 or higher.
    LATEST - The version of the metadata corresponds to the database version.
    version_string - A specific database version (for example, 10.0.0). In Oracle Database 10g, this value cannot be lower than 9.2.
    Database objects or attributes that are incompatible with the specified version will not be exported. For example, tables containing new datatypes that are not supported in the specified version will not be exported.

  • Parser - CSV files to Oracle database

    Hello all,
    I wrote a csv parser that parse csv files to micorsoft access database. Now I need to parse the dataset to oracle database. This is part of my exporter class
    class MdbExporter : IExporter
    /// <summary>
    /// Exportiert das DataSet in eine Mdb-Datei.
    /// </summary>
    /// <param name="ds">Zu exportierendes DataSet.</param>
    public void Write(DataSet ds, string[] names)
    string conStr = "Provider=Microsoft.Jet.OLEDB.4.0;" +
    "Data Source=" + names[0] + ";";
    Console.WriteLine("Exporting to database {0} ...", names[0]);
    Any ideas how can I do that?
    Thanks for any replay in advance.

    I wrote a parser that goes through several folders containing csv files, reads them and creates a dataset that contains 15 tables ( which I need for an intranet application after that). I succeed to write a MDB exporter that export this dataset to microsoft access database. Now I need an exporter that will export my dataset to ORACLE database. Below is the full code for my MDB exporter:
    public void Write(DataSet ds, string[] names)
    string conStr = "Provider=Microsoft.Jet.OLEDB.4.0;" +
    "Data Source=" + names[0] + ";";
    Console.WriteLine("Exporting to database {0} ...", names[0]);
    DbConnection connection = new OleDbConnection(conStr);
    try
    connection.Open();
    catch (DbException e)
    ConsoleEx.WriteException(true, e, "Unable to open database: {0}", names[0]);
    throw;
    DbCommand command = connection.CreateCommand();
    foreach (DataTable table in ds.Tables)
    Console.WriteLine("\tDeleting table: {0}", table.TableName);
    // delete old tables
    command.CommandText = string.Format("drop table {0}", table.TableName);
    TryExecute(command, false);
    // create new
    Console.WriteLine("\tCreating new table: {0}", table.TableName);
    string[] columnStrings = new string[table.Columns.Count];
    for (int i = 0; i < table.Columns.Count; i++)
    columnStrings[i] = "`" + table.Columns.ColumnName + "`" + " varchar";
    command.CommandText = string.Format("create table {0} ({1})",
    table.TableName, string.Join(", \n", columnStrings));
    TryExecute(command, true);
    // add rows
    for (int row = 0; row < table.Rows.Count; row++)
    for (int col = 0; col < table.Columns.Count; col++)
    columnStrings[col] = "'" + Convert.ToString(table.Rows[row].ItemArray[col]) + "'";
    command.CommandText = string.Format("insert into {0} values ({1})",
    table.TableName, string.Join(", \n", columnStrings));
    TryExecute(command, true);
    connection.Close();
    I need similar exporter to Oracle database. Starting with SQL LOADER from the beginning its really not a good in my opinion since I am almost done with this approach.
    Any help would be appreciated.
    Regards,
    Sven

  • How to import Oracle 8i database objects into an Oracle 10g database ?

    Hi all,
    We plan to use Oracle 10g , but untill now we use Oracle 8i 8.1.7.4.1 .
    I want to know how to import all of our Oracle 8i objects stuff to the new Oracle 10g database ; and should I create tablespaces or can I import simply the Oracle 8i tablespaces.
    Thank you very much indeed

    If you use 1 database schema for your application , export the schema only
    for example
    export NLS_LANG env before
    export hr/hr file=hr.dmp log=hr.dmp
    On 10g
    ======
    create the user,tablespaces etc
    import the user
    run the utlrp.sql
    you are ready
    export NLS_LANG env before
    import system/password file=hr.dmp log=hr.dmp fromuser=hr touser=hr

  • Unable to backup oracle 8i database objects

    Hi ,
    i got the following error :
    Connected to: Oracle8i Enterprise Edition Release 8.1.7.2.0 - Production
    With the Partitioning option
    JServer Release 8.1.7.2.0 - Production
    EXP-00056: ORACLE error 942 encountered
    ORA-00942: table or view does not exist
    EXP-00000: Export terminated unsuccessfullyi am using the Oracle 9i Client to backup the object of an Oracle 8i database.
    is this the cause ?
    previously , my client was still on 8i and it could actually backup both the 8i & 9i database objects
    pls advise
    rgds

    First off, the export and import utilities should be considered useful supplements to a proper physical backup but should not be used as the primary backup method for a production database.
    Second, Oracle pretty much requires that you use the version of the export utility that matches the lowest database version you're working with. You could generate the export files on the machine where the database runs, which guarantees that versions will match up, and move them elsewhere. Or you can have multiple versions of the Oracle client in different Oracle Homes on the same machine.
    Justin

Maybe you are looking for