How-to list the contents of a Data Pump Export file?

How can I list the contents of a 10gR2 Data Pump Export file? I'm looking at the Syntax Diagram for Data Pump Import and can't see a list-only option.
Regards,
Al Malin

use the parameter SQLFILE in the impdp which writes all the sql ddl's to the specified file.
http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_import.htm
SQLFILE
Default: none
Purpose
Specifies a file into which all of the SQL DDL that Import would have executed, based on other parameters, is written.
Syntax and Description
SQLFILE=[directory_object:]file_name
The file_name specifies where the import job will write the DDL that would be executed during the job. The SQL is not actually executed, and the target system remains unchanged. The file is written to the directory object specified in the DIRECTORY parameter, unless another directory_object is explicitly specified here. Any existing file that has a name matching the one specified with this parameter is overwritten.
Note that passwords are not included in the SQL file. For example, if a CONNECT statement is part of the DDL that was executed, it will be replaced by a comment with only the schema name shown. In the following example, the dashes indicate that a comment follows, and the hr schema name is shown, but not the password.
-- CONNECT hr
Therefore, before you can execute the SQL file, you must edit it by removing the dashes indicating a comment and adding the password for the hr schema (in this case, the password is also hr), as follows:
CONNECT hr/hr
For Streams and other Oracle database options, anonymous PL/SQL blocks may appear within the SQLFILE output. They should not be executed directly.
Example
The following is an example of using the SQLFILE parameter. You can create the expfull.dmp dump file used in this example by running the example provided for the Export FULL parameter. See FULL.
impdp hr/hr DIRECTORY=dpump_dir1 DUMPFILE=expfull.dmpSQLFILE=dpump_dir2:expfull.sql
A SQL file named expfull.sql is written to dpump_dir2.
Message was edited by:
Ranga
Message was edited by:
Ranga

Similar Messages

  • My iPhone 5 has broken and is being replaced with a new iPhone tomorrow. However, My carrier (orange) will b picking up my broken iPhone and I am unsure how to secure the content and icloud data on the broken phone. Is there a way to display the data?

    My iPhone 5 has broken and is being replaced with a new iPhone tomorrow. However, My carrier (orange) will b picking up my broken iPhone and I am unsure how to secure the content and icloud data on the broken phone. Is there a way to disable the data held on it and ensure that if it is fixed, nobody can use/see my data and access my account?

    Hi Gazpan,
    Thanks for visiting Apple Support Communities.
    I recommend using the steps in this article to back up your iPhone if possible:
    iOS: Back up and restore your iOS device with iCloud or iTunes
    http://support.apple.com/kb/ht1766
    You may also find this advice helpful for your situation:
    What to do before selling or giving away your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/ht5661
    If you no longer have your iOS device
    If you're using iCloud and Find My iPhone on the device, you can erase the device remotely and remove it from your account by signing in to icloud.com/find, selecting the device, and clicking Erase. When the device has been erased, click Remove from Account.
    If you're unable to complete either of the above steps, you should change your Apple ID password. Changing your password won't remove any personal information that is cached on the device, but it will make sure that the new owner can't delete your information from iCloud.
    Cheers,
    Jeremy

  • How to list the contents of an OSX directory, and output to text file?

    hello there any hints with any known program that does following
    I have recorded my music directory to DVD and now i would like to make an .txt file what the dvd contains...cos its way of hand to write all 100xx files by hand...
    How to list the contents of an OSX directory, and output to text file?
    any prog that does that? any hints?
    best regards

    This script makes a hierarchical file listing all files in a folder and subfolder:
    Click here to launch Script Editor.
    choose folder with prompt "Choose a folder to process..." returning theFolder
    set theName to name of (info for theFolder)
    set thepath to quoted form of POSIX path of theFolder
    set currentIndex to theFolder as string
    do shell script "ls -R " & thepath returning theDir
    set theDirList to every paragraph of theDir
    set newList to {"Contents of folder \"" & theName & "\"" & return & thepath & return & return}
    set theFilePrefix to ""
    repeat with i from 1 to count of theDirList
    set theLine to item i of theDirList
    set my text item delimiters to "/"
    set theMarker to count of text items of thepath
    set theCount to count of text items of theLine
    set currentFolder to text item -1 of theLine
    set theFolderPrefix to ""
    if theCount is greater than theMarker then
    set theNestIndex to theCount - theMarker
    set theTally to -1
    set theFilePrefix to ""
    set theSuffix to ""
    repeat theNestIndex times
    set theFolderPrefix to theFolderPrefix & tab
    set theFilePrefix to theFilePrefix & tab
    if theTally is -1 then
    set theSuffix to text item theTally of theLine & theSuffix
    else
    set theSuffix to text item theTally of theLine & ":" & theSuffix
    end if
    set currentIndex to "" & theFolder & theSuffix
    set theTally to theTally - 1
    end repeat
    end if
    set my text item delimiters to ""
    if theLine is not "" then
    if word 1 of theLine is "Volumes" then
    set end of newList to theFolderPrefix & "Folder: > " & currentFolder & return
    else
    try
    if not folder of (info for alias (currentIndex & theLine & ":")) then
    set end of newList to theFilePrefix & tab & tab & tab & "> " & theLine & return
    end if
    end try
    end if
    end if
    end repeat
    open for access file ((path to desktop as string) & "Contents of folder- " & theName & ".txt") ¬
    with write permission returning theFile
    write (newList as string) to theFile
    close access theFile

  • How to show the content of a data object in listbox

    Hello together,
    i have created a service employee_srv for my data object "Employee". How can I show the content of this data object in a listbox in my view, for example DropDownByKey.
    Regards
    Waldemar Schakiel

    Hi,
    An example to create a dynamic context in Webdynpro ABAP:
    data:
    rootnode_info TYPE REF TO if_wd_context_node_info,
    dyn_node TYPE REF TO if_wd_context_node,
    tabname_node TYPE REF TO if_wd_context_node,
    tablename TYPE string.
    rootnode_info = wd_context->get_node_info( ).
    cl_wd_dynamic_tool=>create_nodeinfo_from_struct(
    parent_info = rootnode_info
    node_name = tablename " Data object Table name
    structure_name = tablename
    is_multiple = abap_true ).
    ***Bind data to Dynamic table:
    DATA: stru_tab TYPE REF TO data.
    FIELD-SYMBOLS:
    <tab> TYPE table.
    create internal table
    CREATE DATA stru_tab TYPE TABLE OF (tablename).
    ASSIGN stru_tab->* TO <tab>.
    dyn_node = wd_context->get_child_node( name = tablename ).
    Bind internal table to context node.
    dyn_node->bind_table( <tab> ).
    Shruthi

  • How to list the content of a URL

    Hi All,
    I am wondering whether the method of listing the content of a URL, is the same as listing a directory on a local system? The listing of a local directory can be achieved with the following code for example:
        File dir = new File("directoryName");
        String[] children = dir.list();
        if (children == null) {
            // Either dir does not exist or is not a directory
        } else {
            for (int i=0; i<children.length; i++) {
                // Get filename of file or directory
                String filename = children;
    // It is also possible to filter the list of returned files.
    // This example does not return any files that start with `.'.
    FilenameFilter filter = new FilenameFilter() {
    public boolean accept(File dir, String name) {
    return !name.startsWith(".");
    children = dir.list(filter);
    // The list of files can also be retrieved as File objects
    File[] files = dir.listFiles();
    // This filter only returns directories
    FileFilter fileFilter = new FileFilter() {
    public boolean accept(File file) {
    return file.isDirectory();
    files = dir.listFiles(fileFilter);However, I am not sure whether it is as simple as replacing "directoryName" with "http://www.abc.com/photos" when using java.net.*.
    I am automating a task to download all photos in a gallery at certain website.
    Any assistance would be very much appreciated.
    Many thanks,
    Jack                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi paulcw, JoachimSauer,
    Thanks for answering to this post.
    I am only trying to automate some downloads of quite a of photo albums of relatives overseas. It only takes a few weddings to take hours to download. Moreover, the reason for having made the photos on the Internet so that the relevant parties can do their own download at their convenience for free as opposed to costing the individual to spend time and money on burn dozens of DVDs... After all, this is information age we are living in.
    Lastly, I am hoping to use the getContentType() method to determine the exact type of image such as jpg, gif, etc but doesn't appears that it is doing the right job. Is there any other way to do this instead?
    Thanks a lot again,
    Jack

  • How to list the datasources without use a tnsnames.ora file?

    Hi,
    I want to use the OracleDataSourceEnumerator class of ODP.Net to list the datasources on which the user can connect.
    It's work with a tnsnames.ora on the local station, so good.
    But I want use the easy connect naming methode so i have edited the sqlnet.ora file with this:
    NAMES.DIRECTORY_PATH= (EZCONNECT, TNSNAMES)
    then i have deleted the content of the tnsnames.ora
    so my code don't work : none datasource is returned by the OracleDataSourceEnumerator
    So my question : is it a way to list the datasources without use a tnsnames.ora file?
    Edited by: user13499556 on 17 déc. 2010 08:21

    You can check
    DataConnectionFile.EnumerateDependants method
    This post is my own opinion and does not necessarily reflect the opinion or view of Slalom.

  • How to extract the content of a user uploaded txt file in web dynpro?

    Hi,
    I'm working on a java web dynpro component. This component consists of document upload field, where users should be able to upload .txt documents. These uploaded text documents should then be somehow read, and thir content displayed. I am already able to upload documents using the upload field, and store it in the context, but I'm still not able to extract the content of these text documents for displaying.
    Does anyone have any suggestions of how I could do this?
    Any help will be greatly appreciated!
    Thanks!

    Hi Alain,
        You can do through this document on how to upload/download files in Webdynpro.
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/202a850a-58e0-2910-eeb3-bfc3e081257f]
    Once you have the uploaded file in your context if you are storing it as a byte array then convert it to a string using the String constructor String(byte[] bytes)  and then you can store this string in an attribute of type String which could be bound to a UI element (TextArea) to display the contents.
    If you are using an IWDResource then you will get an inputstream from which you can read the data and convert it to a string for display as mentioned above.
    Hope this helps.
    Sanyev

  • How to write the contents of string buffer to a file

    hi all
    how is it possible to write the contents of a string buffer to a new file (ie i have to create a file and write in it )
    this my string buffer
    StringBuffer s=new StringBuffer();
    s.append("<html><head><title>Welcome</title>");
    s.append("</head>");
    s.append("<body>");
    s.append("<b> Hello,");
    s.append(output);
    s.append(" You have been Sucessfully authenticated</b>");
    s.append("</body></html>");
    so please can anyone help me

    for nice examples of how to do things you may look int [url http://javaalmanac.com]Java Almanac
    or more specifficly: [url http://javaalmanac.com/egs/java.io/WriteToFile.html?l=find]Writin to a File
    in case you don't know how to apply that example on your code, since you have StringBuffer instead of String, then look at [url http://java.sun.com/j2se/1.4.2/docs/api/]API Specification of [url http://java.sun.com/j2se/1.4.2/docs/api/java/lang/StringBuffer.html]StringBuffer, and see if there is some method like toString() or similar, that would help you convert your StringBuffer to a String.

  • Compressing data pump export files

    I am running 10g R2 on sun and aix. Is it possible to compress the output from data pump like you could with piping exp? I have a DW that is about 5T, and we wanted to be able to utilize data pump to dump data, but wanted these output files compressed.
    Thanks

    Just for your information, Check out BCV backup solution.

  • How to change the content dynamically by date wise

    Hi,
    In my application, i have a survey module.
    In that i have to change the question by every week, which iam getting
    from the Database.
    Iam using java,and mysql DB, framework struts.
    How can i update the question for every week ??
    What is the procedure to attain it.
    Give me suggestions and tips to startup.
    Thanks,
    Mohan

    The cron command would do that on Linux and Solaris. On Windows, use a similar command.

  • I want to store the Data Pump export files on a remote machine

    Hi,
    I have two database servers running, A and B. I want to kick off a cron job on A that takes a dump and stores it on a directory on B every night.
    Is this possible?
    Thanks.

    One other option might be to use the NETWORK_LINK parameter. Let's say you want the files of export from A to be created on the server where B resides. Create a database link from B to A, then run expdp from B using the network link pointing to A
    http://docs.oracle.com/cd/B19306_01/server.102/b14215/dp_export.htm#sthref142
    HTH
    Srini

  • How to read the content in one node of XML in Java? Pls help

    My dear brothers,
    I am a newbie of XML, I have a exercise which is creating a Tree View from XML file. But the trouble is I do not know how to read the content in one node of XML file. I decide to use the algorithm as following:
    1. Create a GUI form which gives the ability for user to choose a XML file (ok)
    2. Load XML and return the file (ok)
    3. Read the file from node to node to create the node in Tree View (?!)
    Please help me, and if you are enough kind, please give me an small example to easy understand. Thanks in advance.
    Hoang Yen Binh

    I hope this one helps you.
         <ABC Type="ProductBased" ProdName="One" Location="India">
              <CEO>Raj</CEO>
              <Finance>Vikram</Finance>
              <HR>Karthik</HR>
              <Technical>Satish</Technical>
         </ABC>
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.NamedNodeMap;
    import org.w3c.dom.Attr;
    import org.w3c.dom.NodeList;
    import org.w3c.dom.Node;
    import org.w3c.dom.DOMException;
    import javax.xml.parsers.ParserConfigurationException;
    import org.xml.sax.SAXException;
    import java.io.File;
    import java.io.IOException;
    public class XmlReading {
         Document doc;
         Element element;
         public static void main(String[] args) throws Exception{
              XmlReading xr = new XmlReading();
              xr.getXmlParser(args);
         public void getXmlParser(String[] args) {
              DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                   if(args.length != 1) {
                        System.err.println("Argument Required");
              try {
                   DocumentBuilder builder = factory.newDocumentBuilder();
                   doc = builder.parse(new File(args[0]));
              }catch(ParserConfigurationException e1) {
              }catch(SAXException e2) {
              }catch(IOException e3) {
              getAttributes();
         public void getAttributes() {
              // Retrive the entire Document from the Dom Tree
              element = doc.getDocumentElement();
    //          System.out.println(element);
              NamedNodeMap attrs = element.getAttributes();
              // Get number of attributes in the element
         int numAttrs = attrs.getLength();
         // Process each attribute
              for (int i=0; i<numAttrs; i++) {
                   Node node = attrs.item(i);
                   // Get attribute name and value
                   String attrName = node.getNodeName();
                   String attrValue = node.getNodeValue();
                   System.out.println(attrName + ": " + attrValue);
              String s1 = element.getTagName();
              System.out.println(s1);
              // To get all the elements in a DOM Tree
              NodeList nl1 = element.getElementsByTagName("*");
              int i2 = nl1.getLength();
              System.out.println(i2);
              for(int i=0; i<i2; i++) {
                   System.out.println(nl1.item(i) + "\n");
    }

  • How to list the abap programs order by updated date in ECD

    Hi experts,
    how to list the abap programs order by updated date in ECD?
    thanks.

    I wrote a custom program for displaying Z* development work into an ALV report. 2500 character limit prevents me from posting, message me your email and I'll send you source code.
    Edited by: Brad Gorlicki on Feb 18, 2010 11:25 PM

  • How to change the "content created" date/time in FCPX?

    Since I've had problems importing my whole iMovie event library into FCPX I decided to run some tests with importing individual files (part of iMovie events and originally imported from camera into iMovie). Some of them for some reason got the wrong "content created" date/time in them while in iMovie they have the right date/time set. Does anybody have an idea on how to change the "content created" timestamp?

    I had a bunch of DV files that imported stamped with the file modification date and time.  I did not find a way to change it in FCPX. With FCPX not running, I used A Better Finder Attributes to modify the creation and modification dates of the files in the event folder. FCPX reconnected to them but the event still showed the old range of dates so I created a new event and moved the clips to it. Maybe ther is a beter way but that is how I did it.

  • How to compare the contents of two different tables

    hello. can somebody give me an idean on how to compare the contents of two different tables in mysql?
    example, i have a table named Main List and a table named New List.
    The contents of the New List should be compared to the contents of the
    Main List, to check if they are equal. I don't have any idea how to manipulate
    this data. Hoping for your help. Thanks.

    it is better to comapre it using java.. try get the resultset first and store that in collections then comapre the two collections

Maybe you are looking for

  • Returning to Original Call after answering second call

    While on a phone call, I answer the second call, but when I want to hang up from the second call, and return to the original call, I lose both calls. Can someone help me with this problem please? Thank you.

  • Error Message: Not enough memory for operation.

    Hi All, I'm having problem when try to connect to Oracle DB, check my details as below : Connector : Microsoft ODBC for Oracle Database Expert : Using Stored Procedure to populate data to excel. Server Used: DBCCSWST125.reportjobserver  Error Message

  • Representing query in obiee

    Hi, I have a query which i need to represent in obiee. For eg:*(NOT ACTUAL QUERY)* SELECT empid,name FROM T1 WHERE NOT EXISTS (SELECT 1 FROM T2 WHERE T1.empid=T2.empid) I know this we can do it by SQL directly in the physical layer.But i want to know

  • Error in segement

    Hi,          I have one query regarding Cashjournal segment i am selecting splitting tab and i have entered more than two line items with different cost centers it is working but when i am trying to view document as a general ledger view every sgemen

  • Sys.aud$ Table not accesible over PL/SQL ?

    I try to do the follow. When you start the auditing with specific command like AUDIT SESSION; it will produce many many rows in the sys.aud$ table. This is the reason while we need to maintain the data witch exist then in thsi table. I did try it to