Can we get the count of table in dump(.dmp) file

Hi,
I have a export backup (exp)of all the users of database in one dumpfile(.dmp).
I want to import only one table(T) in specific schema is it possible right.
And i want to know how many records (count(*)) in that dump file table(T)
Reason: Some body deleted the table accedentally...
version: 10.2.0.4
Thanks,
Srinivas
Edited by: Srini on Apr 17, 2012 3:01 AM

Srini wrote:
Hi,
I have a export backup of all the users of database in one dumpfile(.dmp).
I want to import only one table(T) in specific schema is it possible right.That is possible
>
And i want to know how many records (count(*)) in that dump file table(T)
Reason: Some body deleted the table accedentally...
version: 10.2.0.4
If you have the logfile that comes with the dump, you can easily lookup the number of rows.
Success,
FJFranken

Similar Messages

  • How can I get the cursor's position in a opened file and display a menu?

    Hello,
    I want to make a program by which I will be able to display a panel/pops up menu at the corsor's current position, (In any text/doc file or in the desktop, we can display a menu by right click of the mouse.) Now I want my program to do the same task.
    More clearly-
    1. First I would save some words or sentences in a file(aa.txt).
    2. Then I would open another text file/ a word/ excel/ or any other editor( bb.txt / cc.doc / dd.xls / ee.html ).
    3. While editing or writing something in the opened file, if I click the right mouse button/ press a key (ctrl+space), a menu will appear containing the sentences I saved in the file(aa.txt) previously.
    My program will tell me the cursor's position in bb.txt / cc.doc / dd.xls / ee.html that i opened. And display a menu. my problem is not reading / writing in a file.
    My problem is how can I get the cursor's position in a opened file display a menu at that position by a mouse/key action*.
    Would you please help me on this regard.
    Thanks

    DrClap wrote:
    I think the OP wants to start up an application like MS Word and then operate it from a Java program.Doesn't The Monkey's Paw do that? What a second, according to Wikipedia:
    [http://en.wikipedia.org/wiki/The_Monkey%27s_Paw]
    <quote>
    ...the paw of a dead monkey is a talisman that grants its possessor three wishes, but the wishes come with an enormous price.
    The moral of the story is contained in this description of the paw: "It had a spell put on it by an old fakir," said the sergeant-major, "a very holy man. He wanted to show that fate ruled people's lives, and that those who interfered with it did so to their sorrow."
    </quote>
    So I guess that a non-sequitor ... or is it?

  • How can i get the count vaule from GPIB?

    I want to get the count waule from GPIB ,but I find that the vaule I get from GPIB now is the trace vaule ,
    so I ask How can i get it.

    The count of what? What kind of instrument are you using?

  • How can I get the context-parm from a web.xml file using struts?

    Hello:
    I need get the context-param from the web.xml file of my web project using struts. I want configurate the jdbc datasource connection pooling here. For example:
    <context-param>
    <param-name>datasource</param-name>
    <param-value>jdbc/formacion</param-value>
    <description>Jdbc datasource</description>
    </context-param>
    and then from any Action class get this parameter.
    Similar using a simple server can be:
    /** Initiates new XServlet */
    public void init(ServletConfig config) throws ServletException {
              for (Enumeration e = config.getInitParameterNames(); e.hasMoreElements();) {
                   System.out.println(e.nextElement());
              super.init(config);
              String str = config.getInitParameter("datasource");
              System.out.println(str);
         public void doPost(HttpServletRequest req, HttpServletResponse res)
              throws ServletException, IOException {
              // res.setContentType( );
              System.out.println("Got post request in XServlet");
              PrintWriter out = res.getWriter();
              out.println("nada");
              out.flush();
              out.close();
    but only this works for init-params, if I use
    <servlet>
         <servlet-name>MyServlet</servlet-name>
         <display-name>MyServlet</display-name>
         <servlet-class>myExamples.servlet.MyServlet</servlet-class>
         <init-param>
         <param-name>datasource</param-name>
         <param-value>jdbc/formacion</param-value>
    </init-param>
    </servlet>
    inside my web.xml. I need something similar, but using struts inside the action class for that I can get the context-params and call my database.
    Thank you

    To get context parameters from your web.xml file you can simply get the ActionServlet object from an implementing action object class. In the perform (or execute) method make the following call.
    ServletContext context = getServlet().getServletContext();
    String tempContextVar =
    context.getInitParameter("<your context param >");

  • How can I get the difference of  tables between two oracle server?

    We team have 2 oracle servers in the same version.
    one is develop server and the other is priduct server.
    I want to know what is difference in tables define between the two oracle servers.
    give me a method or a step or a sql script or a tool to compare these two set of tables.
    Edited by: Oracle-Sunmeng on Aug 1, 2012 6:36 PM

    Hi Sunmeng,
    Does Database Link exists between Databases ??
    If I am Clear, Are you looking Something like this.
    To Identify the tables difference, you can query the USER_TAB_COLUMNS view.
    SELECT DISTINCT table_name, 'User1' AS user_table
               FROM user_tab_columns
    UNION ALL
    SELECT DISTINCT table_name, 'User2' AS user_table
               FROM user_tab_columns@dblink
           ORDER BY 1;Which gets us all the Tables available in Both User. where you can filter based on what
    you require.
    Similary, you for column difference
    SELECT   table_name, column_name, 'User1' AS user_table
        FROM user_tab_columns
    UNION ALL
    SELECT   table_name, column_name, 'User2' AS user_table
        FROM user_tab_columns@dblink
    ORDER BY 1;If you need to count the no of columns in both Tables of different databases. Then try this,
    SELECT table_name, 'User1' user_name,
           (SELECT MAX (column_id)
              FROM user_tab_columns a
             WHERE a.table_name = b.table_name) colno
      FROM user_tables b
    UNION ALL
    SELECT table_name, 'User2' user_name,
           (SELECT MAX (column_id)
              FROM user_tab_columns@dblink a
             WHERE a.table_name = b.table_name) colno
      FROM user_tables@dblink b;And, what the Columns in both tables may be same but, if datatype and length of column differs ?????
    Thanks,
    Shankar
    Edited by: Shankar Viji on Aug 1, 2012 10:47 PM
    Edited by: Shankar Viji on Aug 1, 2012 10:49 PM

  • How can I get the console Output generated by a exe file

    when I am trying to use method getOutputSteam of Process to gain the outputStream,I got nothing!
    I have also tried to use stream redirect,also no result!
    please help me! Thank you in advance!
    my main code are below:
    Process ps=Runtime.getRuntime().exec("xxx.exe");/*xxx.exe is a executable program which will generate a console with the message I want to gain.*/
    int exitVal= ps.waitFor();
    if(exitVal==0){
    BufferredReader br = new BufferedReader(new InputStreamReader(ps.getInputStream())); String st;
    while((st = br.readLine()) !=null){
    System.out.println("write:"+st);
    }//my result show that I got nothing from the progam.

    ok, this works (I tried) :
    import java.lang.*;
    import java.io.*;
    public class ps {
            public ps() {
            public static void main(String[] args)
                    try
                            Runtime rt=Runtime.getRuntime();
                            Process ps = rt.exec("ps");
                            BufferedReader br = new BufferedReader(new InputStreamReader(ps.getInputStream()));
                            String st;
                            while((st = br.readLine()) !=null){
                                        System.out.println("write:" + st);
                    } catch (Exception e)
                            e.printStackTrace();
    }But it's not the same that a simple ps :
    [host@localhost java]$ ps
    PID TTY TIME CMD
    4065 pts/1 00:00:00 bash
    4319 pts/1 00:00:00 ps
    [host@localhost java]$java ps
    write: PID TTY TIME CMD
    write: 4065 pts/1 00:00:00 bash
    write: 4320 pts/1 00:00:00 java
    write: 4321 pts/1 00:00:00 java
    write: 4322 pts/1 00:00:00 java
    write: 4323 pts/1 00:00:00 java
    write: 4324 pts/1 00:00:00 java
    write: 4325 pts/1 00:00:00 java
    write: 4326 pts/1 00:00:00 java
    write: 4327 pts/1 00:00:00 java
    write: 4328 pts/1 00:00:00 java
    write: 4329 pts/1 00:00:00 java
    write: 4330 pts/1 00:00:00 java
    write: 4331 pts/1 00:00:00 ps
    write: 4332 pts/1 00:00:00 java
    write: 4333 pts/1 00:00:00 java
    [paul@localhost java]$
    And I don't know why...

  • Tried to install firefox 4 and I can't get the icon to drag into my applications file, it just keeps bouncing back to the dock.

    Really that's about it, your instruction page to upgrade for free to Firefox 4 (Mac desktop) says to drag the Firefox icon into the app file and then from there onto the dock. I'm not sure WHICH icon I am dragging, so I tried the one on the dock, and even the one on your instruction page. Nothing will stay in the app folder.

    Hold the option while turning on the computer. You should see your statup drives. Just choose the OS X drive and eject your disc once in OS X.

  • Getting the count of records in a cursor

    Hi,
    How can I get the count of records satisfying a conditin in a cursor.
    This is the code that I have written. Please tell me where I am going wrong.
    declare
    cursor c is
    select * from Details where Name like 'M%';
    rec number;
    r c%rowtype;
    begin
    for r in c
    loop
    rec:=rec+1;
    end loop;
    dbms_output.put_line(rec);
    end;
    Thanks in advance

    Hi,
    You have to initialize the rec variable.
    declare
    cursor c is
    select * from Details where Name like 'M%';
    rec number :=0;
    r c%rowtype;
    begin
    for r in c
    loop
    rec:=rec+1;
    end loop;
    dbms_output.put_line(rec);
    end;
    You can also use the %ROWCOUNT attribute.
    Regards

  • Getting the count of DISTINCT of several columns

    How can i get the count of DISTINCT of several columns?
    SQL> select count(distinct ename) from emp;
    COUNT(DISTINCTENAME)
                      14
    SQL> select count(distinct ename, job) from emp;
    select count(distinct ename, job) from emp
    ERROR at line 1:
    ORA-00909: invalid number of arguments

    Hello,
    You should separate them out like this
    select count(distinct ename), count(distinct job) from emp;Regards

  • How to get the list of tables?

    How can I get the list of tables in database using SQL/PLSQL?
    Thank you.

    It depends what Data Dictionary views you have access to.
    SELECT table_name
    FROM user_tables
    will tell you all the tables in your schema.
    SELECT table_name
    FROM all_tables
    WHERE owner = 'XXX'
    will tell you all the tables that you have some kind of access to. You may be able to get similar information from
    SELECT table_name
    FROM dba_tables
    WHERE owner = 'XXX'
    Leave out the WHERE clause if you're not interested in restricting by owner
    You may need to get your DBA to grant access to ALL_TABLES and DBA_TABLES.
    Define these as (parameterised) Cursors if you want to do this work in PL/SQL. Return the results into a PL/SQL table (of xxx_tables.table_name%ROWTYPE) if you want return the list as a parameter. Bulk Collect the results into the PL/SQL table if you're using Oracle 8i.

  • Hello, trying to download the latest iTunes software version, a pop up comes with a "invalid signature" message. Try to do download only with the same results. I can buy and download from iTunes but can't  get the latest version?

    Hello, trying to download the latest iTunes software version, a pop up comes with a "invalid signature" message. Try to do download only with the same results. I can buy and download from iTunes but can't  get the latest version?

    Transfer Purchases  = iTunes > File > Transfer Purchases
    http://support.apple.com/kb/HT1848

  • Get the ipad to display my photos in file name sequence

    How can I get the ipad to display my photos in file name sequence instead of by time/date stamp? I want to display them in a particular sequence controlled by the filename I gave them. 

    Hey Tex,
    Good idea.  I've found a question that indicates that the ipad sorts by name (https://discussions.apple.com/message/9116248#9116248).  Mine are all sorted by date/time.  How did they do that?
    The app you suggested looks promising, but it sounds like i have to manually rearrange my pictures, and since i have hundreds in each folder, this would be tedious.  Is there an app that will allow me to display them by filename w/o me having to rearrange them myself??
    Thanks.
    WSC

  • How can I get a count at the same time I am inserting into another table

    I have a requirement where I have to find out the count(number of records inserted into another table) at the same time I insert into the table:
    Like
    I am copying records from table B to A, while doing this I have to find out how many records I've inserted since I need this count in subsequent steps
    INSERT INTO A
    SELECT * FROM B
    how can I store the count into any variable while doing above statement
    Please advice

    No, Warren that doesn't work!
    SQL> set serveroutput on
    SQL> declare
      2     vCtr  number := 0;
      3  begin
      4     insert into emp2
      5     select * from emp;
      6
      7     select count(*)
      8       into vCtr
      9       from emp2;
    10
    11     dbms_output.put_line('rows created '||to_char(vCtr));
    12  end;
    13  /
    rows created 15
    PL/SQL procedure successfully completed.
    SQL> declare
      2     vCtr  number := 0;
      3  begin
      4     insert into emp2
      5     select * from emp;
      6
      7     select count(*)
      8       into vCtr
      9       from emp2;
    10
    11     dbms_output.put_line('rows created '||to_char(vCtr));
    12  end;
    13  /
    rows created 30
    PL/SQL procedure successfully completed.
    SQL>

  • How can I get the number request's (count) for One interface

    Hi Guru's,
    I have a requirement,One interface say Hello world._How can I get the number request's (count) for this interface_.I thing with BAM it's possible.
    But I have no idea about BAM.If is there any alternative please give directions and instruction how to achieve this task.
    Can any body help.Thanks in advance.
    Regards
    Mani

    You have to query the SOA_INFRA schema to get the answer.
    Build a select query in cube_instance table.
    Thanks,
    Vijay

  • How can we get the table name...

    Hi All,
    How can we get the actual table name for an argument if its datatype is %ROWTYPE.
    For Ex :
    function ACCOUNT_UPDATE (account_no number,
    person person%rowtype,
    amounts dbms_describe.number_table,
    trans_date date)
    return accounts.balance%type;
    In the above function 'ACCOUNT_UPDATE', for argument person the datatype is 'person%rowtype'.
    Is there any way to get the name from Data Dictionary tables.
    I tried using All_Arguments and DBMS_DESCRIBE, I can able to get all the individual fields of %ROWTYPE by I could not able to know the exact table name thru the DD.
    my requirement is dynamically I need to declare a variable for the argument datatype.
    Your help is highly appreciated.
    Thanks

    hi vinay,
    this is the easiest way to find the tablename of a particular field.
    t.code:XD01.
    enter.
    select the kunnr field.
    press F1.
    the top of the screen u will get 'Technical setting icon.
    select that one.then u will get tablename,fieldname,parameter id also.
    if helps give the rewards.
    regards,
    akash.k

Maybe you are looking for

  • SAP_COLLECTOR_FOR_PERFMONITOR background job cancelled in SM37

    Dear all , One of the scheduled background job has been  cancelled . Kindly check the below loga and Background job details . Job name        SAP_COLLECTOR_FOR_PERFMONITOR Job class       C Status          Canceled (ABAP Program Name           RSCOLL

  • Which new Macbook to replace my 2008 Macbook Pro?

    I am about to buy a new replacement for my 5 year old 15" Macbook Pro which I have sworn by, but is slowly letting go. I would like someones opinion: should I replace it with the new 13 inch Macbook Air, or 13 inch Macbook Pro? I would use it mostly

  • Hi, please I need help for n500

    Hello, I have a notebook Lenovo 3000 n500 4233-3hs and I had format the notebook for install windows vista 64 Bits. now I don´t find the video and BIOS drivers for this system. please cand you help me with that... thnks

  • JDeveloper 3.1 + Personal Oracle 8i for Win98

    Dear all, I want to use the JDeveloper 3.1 + Personal Oracle 8i + Window 98 for local testing before uploading the whole site. Which extra products should I use to connecting them within my PC. Should I install a web server program or/and Oracle appl

  • Error trying to use load-externs in a module project

    Hi: I am trying to implement modules in my application. I have read the documentation and learned that if i want to reduce the size of my modules i have to use the link-report and load-externs compiler options (the first in the main project and the s