Exporting database to duplicate under another username

I have Oracle 10g and am operating in the Application Express web interface.
I have a small database under usernameA that I'd like to duplicate under usernameB. (I'm doing this so that I can test switching between two distinct databases depending on whether I'm on my staging or my production server).
Someone suggested the 'exp' command, but I must be using it wrong. I'm using it in the SQL Commands dialogue and it doesn't recognize it. I tried exp help=yes and its says 'Invalid SQL statement'.
I do not have command prompt access to the machine.

You need to run exp on command prompt. If you can't access that machine then you can also use exp from your client (from where you are launching sqlplus). If exp/imp is installed on that box then you can run exp from your client box and use the hoststring to connect to the remote database. If the exp/imp is not installed then you need to request your DBA to do the required task for you.
Daljit Singh

Similar Messages

  • Urgent- Exporting database tables

    Hi There,
    I am using Oracle 8.0.6. I want export a table from one server to another.(both are unix machines). How can I do it?
    Thanx in advance

    If a table is samll, then I would recommend you to create a dblink between them and use copy command to copy the table from one db to another.
    Export:
    exp system/password file=exp.dmp log=exp.dmp tables=username.table_name direct=y statistics=none
    ftp the exp.dmp file in binary mode to other unix server.
    imp username/password file=exp.dmp log=imp.dmp fromuser=username touser=username full=y
    Do you have same user exists in both databases? Do you have same tablespaces exists on both databases?
    When you import, it will look for the same tablespace as exported database tablespace. Otherwise, the user who is importing revome unlimited tablespace quota and use one tablespace. also, you have to include ignore=y in this scinario.
    Jaffar

  • I got error when I export database ORACLE 9i from solaris 9.

    I want to export full database ORACLE 9i from SOLARIS 9 to import full database on ORACLE 9i on windows.
    I set oracle environment and NSL_LANG with command:
    bash-3.00$ export ORACLE_SID=TIS
    bash-3.00$ export NLS_LANG=AMERICAN_AMERICA.TH8TISASCII
    and then run command to export:
    bash-3.00$ exp system/manager@TIS full=y file= /u03/dmp/TISfull.dmp log=/u03/dmp/exp_TIS.log
    I got error message as:
    Export: Release 9.2.0.1.0 - Production on Thu Oct 8 17:57:32 2009
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    Export done in TH8TISASCII character set and UTF8 NCHAR character set
    About to export the entire database ...
    . exporting tablespace definitions
    . exporting profiles
    . exporting user definitions
    . exporting roles
    . exporting resource costs
    . exporting rollback segment definitions
    . exporting database links
    . exporting sequence numbers
    . exporting directory aliases
    . exporting context namespaces
    . exporting foreign function library names
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions
    . exporting system procedural objects and actions
    . exporting pre-schema procedural objects and actions
    EXP-00008: ORACLE error 25153 encountered
    ORA-25153: Temporary Tablespace is Empty
    ORA-06512: at "SYS.DBMS_AW", line 42
    ORA-06512: at "SYS.DBMS_AW", line 105
    ORA-06512: at "SYS.DBMS_AW", line 221
    ORA-06512: at "SYS.DBMS_AW_EXP", line 264
    ORA-06512: at line 1
    EXP-00083: The previous problem occurred when calling SYS.DBMS_AW_EXP.schema_info_exp
    . exporting cluster definitions
    EXP-00056: ORACLE error 25153 encountered
    ORA-25153: Temporary Tablespace is Empty
    ORA-06512: at "SYS.DBMS_LOB", line 424
    ORA-06512: at "SYS.DBMS_METADATA", line 1140
    ORA-06512: at line 1
    EXP-00056: ORACLE error 25153 encountered
    ORA-25153: Temporary Tablespace is Empty
    ORA-06512: at "SYS.DBMS_LOB", line 424
    ORA-06512: at "SYS.DBMS_METADATA", line 1140
    ORA-06512: at line 1
    EXP-00000: Export terminated unsuccessfully
    How can I solve this problem?
    Any suggestion?

    #### HOW to solve it.
    ## To check the default temporary tablespace of the database:
    SQL> select property_name, property_value from database_properties;
    ## check DEFAULT_TEMP_TABLESPACE, if it use wrong temporary tablespace, run:
    SQL> alter database default temporary tablespace temp;
    ## check user with temporary tablespace, run command:
    SQL> select username, temporary_tablespace, account_status from dba_users;
    ## change temporary tablespace:
    SQL> create temporary tablespace temp1 tempfile '/data/u01/app/oracle/oradata/TIS/temp_b.dbf' size 100m;
    SQL> alter database default temporary tablespace temp1;
    SQL> drop tablespace temp including contents and datafiles;
    SQL> create temporary tablespace temp tempfile '/data/u01/app/oracle/oradata/TIS/temp01.dbf' size 100m autoextend off extent management local uniform size 1m;
    SQL> alter database default temporary tablespace temp;
    SQL> drop tablespace temp1 including contents and datafiles;
    Thanks

  • Export database in quiet mode

    I'm trying to export database (or part of it) via exp utility. Exp utility should be called from command file or from another process (on windows). If something goes wrong (for example user name or password is not correct) exp pauses it's execution and trying to ask user what to do (for example enter valid user name). This is the problem. I want that exp just finish it's execution without asking any input from user. It is possible at all?
    I have read exp's documentation and not found any command line keys which could run exp in non-interactive mode.

    My export command follows:
    D:\Users\ender>C:\Oracle\Ora102g\bin\exp.exe hr/hr@ORCL102G FULL=Y FILE='D:\Users\ender\My Documents
    \hr.dmp' LOG='D:\Users\ender\My Documents\hr.log'
    Export: Release 10.2.0.1.0 - Production on Tue Apr 10 13:26:54 2007
    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
    EXP-00023: must be a DBA to do Full Database or Tablespace export
    (2)U(sers), or (3)T(ables): (2)U > ^C
    D:\Users\ender>
    The real problem is not that HR user must be DBA. The problem is that exp asking questions instead of just fail and exit.

  • 1005000 &1005029 Essbase Error - MaxL Export database

    Hi, I'm trying to export data in a MaxL command called by a Perl program (automated batch process) using the following command: export database StgAll.StgAll level0 data in columns to data_file 'H:/Export_folder_server09/StgALL_export_server.txtThe Perl program is called from the server 04 and it export a database on the server 09. The ?H:/Export_folder_server09/? directory is mapped ?network driver? on the server 04. I get the following Error message: Executing [export database StgAll.StgAll level0 data in columns to data_file 'H:/Export_folder_server09/StgALL_export_server.txt']... 1005029 - Parallel export enabled: Number of export threads [1] 1005000 - Ascii Backup: Failed to open [H:/Export_folder_server09/StgALL_export_server.txt]. 9 - Essbase error encountered: [GetProcessState] [1005000] 51 - MaxL execution failedWhat am I doing wrong?Someone can help me ?Thanks in advance, Manon

    I'm not certain if thi sis your problem, but I believe it has something to do with the way you are using / marks in your directory path.Take a look at this excerpt from the MaxL tech doc. I hope this helps you.Use of backslashesIgnored unless preceded by another backslash (the escape character). Must use single quotation marks around the token containing the two backslashes.Example: create or replace group 'R\\D';Result: Group R\D is created.Example (Windows): export database sample.basic using report_file 'Essbase\\App\\Sample\\Basic\\asym.rep' to data_file 'c:\\home\\month2.rpt'; Result: The Windows file paths are interpreted correctly as Essbase\App\Sample\Basic\asym.rep and c:\home\month2.rpt.

  • Exporting database using Apex interface

    I want to export at once and in one file
    - the database objects (tables, constraints, etc)
    - and optionally database data as well
    that are used by some given Apex application.
    QUESTION: Is there any way to do that through the Apex interface?
    I know how to do that with SQL-Developer.
    I know also how I can export through the Apex interface
    one selected object (for example, one table),
    but what about exporting all of them together?
    Thank you very much,
    Marios

    hi,
    try this.
    Exporting all the ddl objects in schema into single sql file. (tables, constraints, etc) at once
    Open workspace-> Home>Utilities>Generate DDL->createscript-> schema Name->choose fron select list-> choose option Save As Script File-> check all->click Generate ddl-> type script name->click createscript-> stored into your sql scripts inside SQL WORKSHOP TAB->click export button right side under task link->click checkbox to the corresponding file name and click -> add to export->right side Scripts to Export have your file->click export all.
    Combining Application + ddl objects + data
    Open your application-> ckick Home>Application Builder>Application 123>Supporting Objects>Installation Scripts-> Create from Scratch-> give name-> editor will open -> copy and paste the sql commands which you have exported using above steps
    data
    if you need to export some sample data then you can paste those commands insert into tablenameinto the same sql editor in step2 and save it
    note: in your Home>Application Builder>Application 123>Supporting Objects>export status-> Include Supporting Object Definitions in Export=yes
    Export your application and user can import using single sql file.
    thanks
    Mark Wyatt

  • Import & export database

    hi
    iam a vovice user & working on tables can you tell me detailed solution that how can i export database from my computer & how can i import that database on another computer

    Hi...
    i am a vovice user & working on tables can you tell me detailed solution that how can i export database from my computer & how can i import that database on another computerThere are lots of documents available on this topic.FOr any oracle related document you can go to [http://tahiti.oracle.com/].
    What is the oracle version you are using.If on 10g or above use expdp.
    Export can be done
    1. Object level 2. Schema level 3. Full 4.Tablespace level
    I would prefer instead of taking a full export backup and importing it into another database, take the export of the required application schemas and import it into the target database.

  • Unable to open 10g Database Control Webpage from another computer

    Unable to open 10g Database Control Webpage from another computer
    Hi Gurus
    I have just installed Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 on my PC Windows XP , created database and configured DB control
    I can open Database Control Webpage on the database machine by typing
    http://USI2374993VND0.vlgdw2k.visteon.com:1158/em
    or
    http://136.18.70.189:1158/em
    But can not open it from another PC
    When I do following from another PC
    1. http://USI2374993VND0.vlgdw2k.visteon.com:1158/em
    Get error: [code=DNS_NO_DATA] The IP address was not found during the DNS lookup. Contact your system administrator.
    2. http://136.18.70.189:1158/em
    Get error:Can not display web page
    I can ping 136.18.70.189 but not USI2374993VND0.vlgdw2k.visteon.com
    On the other PC I also tried adding 136.18.70.189 to
    tools - internet options - security - local internet - sites - advanced - add this web
    site to the zone as http://136.18.70.189
    But it did not work
    Please help with any ideas
    Thanks a bunch
    New DBA

    Firewalls?
    DNS translation issues?

  • How to place one column under another column in obiee report?

    Hi all,
    I am new to obiee, so need some help from obiee experts. Can anyone tell me how to place one column data under another column in obiee report?
    i need the report to be as below
    category total_students Course_enrollment Test_attended pass_test
    total N % N % N %
    all students ##### ## ## ## ## ## ##
    Ethnicity
    Asian ###### ## ## ## ## ## ##
    African American ###### ## ## ## ## ## ##
    white ######
    Filipino ######
    Gender
    Male ##### ## ## ## ## ## ##
    Female ##### ## ## ## ## ## ##
    and similarly for other columns
    where ethnicity, gender are columns in the table and Course_enrollment, Test_attended, pass_test are calculated columns.
    Please help me to create a report as above if anyone knows how to do it.
    Edited by: Shailaja on Jul 19, 2010 12:23 AM

    Two ideas I can think of:
    1) Create multiple pivot tables and then display them one under the other
    2) Create multiple measure columns such as "male_amt", "female_amt", "white_amt", "asian_amt", "black_amt", etc. for all the columns you need. Then you could simple stack them in a single pivot table.
    Option #2 might give you the prettiest results - but also requires a lot more maintenance (for instance, if you reclassify ethnic groups, you'd have to go through the reports to add additional metric columns).
    Hope this helps,
    Scott

  • I tried to register my stolen iPhone onto My Profile but it says that it's registered under another apple ID (which is not mine) What does this mean? Does it mean the person who stole my phone is using my phone under another Apple ID?!

    Hi everyone,
    My iphone and Ipad got stollen yesterday...
    I registered my Ipad onto "my profile" but when I tried to register my Iphone 4 onto "My Profile" it says that the product has been registered under ANOTHER apple ID. What does this mean?! Does this mean that the thief is using my phone under a new apple ID?!
    I am getitng  abit paranoid because when I tried to download a new app onto my macbook pro, it says that someone had accessed my account from a new computer. I am so scared.. as I know that if they are able to access my apple ID account they can see my billing/card details. I tried to delete my billing address and card details on my apple ID account to prevent this from occuring but I can't. Please help
    Many thanks,
    Kim

    You should change your AppleID password NOW. And if it says it was registered under another AppleID, the thief has probably done it.

  • After trying to change permissions on my computer so others on my network can access files, my external Hard Drive has a lock on it and I can't access files. I've tried repairing permissions, logging in under another Administrator account, using Terminal

    After trying to change permissions on my computer so others on my network can grab files, my external Hard Drive has a lock on it and I can't access files. I've tried repairing permissions, logging in under another Administrator account, using Terminal to fix the problem, downloaded BatChmod but nothing works… Any other suggestions? I have an Imac running OS10.6.8.

    There is suddenly a lock icon on my external backup drive!
    Custom Permissions

  • I would like to make one static copy of Firefox, so I can restore it if I have a hard drive crash, or if I want to upgrade my internal disk, or if I want to have a duplicate on another replacement computer.

    ''dupe of https://support.mozilla.org/en-US/questions/918473''
    I would like to make one static copy of Firefox, so I can restore it if I have a hard drive crash, or if I want to upgrade my internal disk, or if I want to have a duplicate on another replacement computer.

    Hi tchmielewski,
    You should look into [https://support.mozilla.org/en-US/kb/what-firefox-sync Firefox Sync]. I think it will do everything that you are asking for. This will allow you to have all of your Firefox preferences and settings shared across multiple computers.
    You could also create a backup on a USB drive in case of catastrophic failture. I would suggest that you back up your personal information and bookmarks using the article [[Backing up your information]].
    Hopefully this helps!

  • How do you select an object that is directly under another object?

    How do you select an object that is directly under another object?
    I was working from a template and I wanted to make a text box the same size as a column box that was put there in order to keep the text in the confines of the paper that is was being printed to.
    I could actually put text in each column fine but I wanted it to be in a text box so that I could slightly tilt the test box to compensate for my printer feeding it in slightly wrong. I accomplished this on another template but I could not on this one. If I was working in InDesign or something I know I could just select that layer but I'm at a loss of what to do here. How do I select a column right under a text box? I just thought of something. Once I make the text boxes the same size as the columns I think I can just delete the columns from the inspector. But that would be kind of a work around. I know you can hold down command when nothing is selected from outside the document and then highlight but this is not working. Does anyone have some tips and tricks when it comes to having control over which objects you are selecting when it comes to objects that are overlapped as well as directly over each other.
    Thanks.
    Tim

    I'm not sure it's documented any where, but it's not too difficult. First, ⌘-click outside of the layout area to enter object mode then drag the cursor towards the two objects until you see the handles. Now, again ⌘-click on the top object to deselect it. You can now move the underlying object to the front to edit, delete, etc.
    After typing this, it dawned on me, why not just click the top object to select it & move it to the back? I've only done the other way a bazillion times & now I think of this.

  • Export all tables' name under user by informatica

    Hi,
    I have a requirement about informatica mapping,
    we want to user one mapping to export all tables' name under user,
    like sql :
    SELECT t.OWNER || '.' || t.TABLE_NAME ||
    FROM all_tables t
    WHERE t.OWNER = 'BIEBS';
    How to realize it?
    Thank you!

    Get the table all_table in source analyzer save it. While building the map choose this as ur source, modify source qualifier as select table_name,table_name from all_tables where table_name='BIEBS'.
    Once u have this, use an expression transformation to build ur expression and load it into a flat file.
    Please mark this answered or helpful if it solves your purpose.
    Rgds.

  • My stolen Iphone 4S is registered under another apple ID (not mine). Help to stop Chiefs of our Iphones!

    My stolen Iphone 4S (DNPGN90ADTDF) is registered under another apple ID (not mine).
    I have Apple ID but I have never registered my Apple products on this web site. One of them Iphone 4S has been stolen and I wanted to inform the administration and users about it.  I was trying  to register it  under my ID and found out that it has been registered under another apple ID.
    I have papers from the French Police about the stolen Iphone, I have Iphone's box with serial number and if it's important I can request the check.
    How can I find out information about the Apple ID who registered my stolen Iphone?
    P.S. My very expensive bag was stolen where were the Iphone and a lot of documents and very important things.

    iuvarova wrote:
    My stolen Iphone 4S (DNPGN90ADTDF) is registered under another apple ID (not mine).
    I have Apple ID but I have never registered my Apple products on this web site. One of them Iphone 4S has been stolen and I wanted to inform the administration and users about it.  I was trying  to register it  under my ID and found out that it has been registered under another apple ID.
    I have papers from the French Police about the stolen Iphone, I have Iphone's box with serial number and if it's important I can request the check.
    Tell the police to contact Apple.

Maybe you are looking for

  • Changing AnyConnect URL

    All, I need to change the URL that AnyConnect clients connect with and I'm looking for the easiest way of doing so without requiring clients to manually change the URL on their existing installations. This will also include going from a self-signed S

  • Biztalk log error

    I received this error in my application log, all my ports are enabled and bound to an orchestration. A message received by adapter "FILE" on receive location "ReceiveFiles" with URI "C:\Receive\*.*" is suspended.   Error details: The published messag

  • Validate field in tabular forms apex 4.2

    Hi. i need help doing next validations : 1.- i have a product_item field (wich is a lov and user choose one value), so i need to call a function (sending it the selected value product_item) that will return me some data about the product i selected,

  • White balance presets in 1.1?

    What happened to the white balance presets for JPEGs in 1.1? All I have now is auto, custom, and as shot. In 1.0 I had all the presets for JPEG as I have for RAW. In 1.0 they were in the develop module.

  • Forgot to deactivate...

    Greetings all... I had Adobe Creative Suite Production Premium (CS6) installed on a Mac Book Pro that I recently gave to my wife for use. I wiped the hard drive without deactivating any of the Adobe Creative Suite Production Premium apps and have rea