Creation of schema and import script

Hi,
I am working in oracle 9i. I am having export backup using cron job. i need to delete a schema , then create a new schema and to import this in the new schema,
Kindly provide the script to do this activity.

Hi,
1 - Drop the Schema usinG "Drop user <User_name> cascade;"
2 - Create a New Schema
3 - Execute Import on the Schema.
- Pavan Kumar N

Similar Messages

  • How to export a schema and import the schema to a different schema name

    I am using Oracle9i Oracle Enterprise Manager Console.
    I can export the HR to a dmp file.
    I have created another user call MYHR and I would like to import hr.dmp to the new user.
    1. How can I add a schema using OEM?
    I can do it by creating a table in MYHR and refresh OEM.
    2. How can I import HR.dmp to MYHR using OEM.
    I can import it using command line:
    imp user/password@connectstring file='c:\hr.dmp' full='Y'
    Any hints are appreciated

    Hi,
    1.
    You don't have to create a schema explictly.
    Say you create a user u1. Now this user u1 create some object s, then the schema u1 is automatically created.
    Schema is actually a logical collection of objects.
    2.
    Why using OEM for importing. Using the command is much more easier.
    Your command is bit incorrect. Don't use full=y to import a schema.
    Use ; imp userid=user/password@connect_string file=filename fromuser=HR touser=MYHR
    Better add "log=some text file". Then use can see the log also.
    Regards.

  • Difference between capture schema and import/register schema

    As far as versioning control, what are the differences, if any, between 1.) capturing a schema's objects thru design editor and 2.) importing and registering a schema?

    Capturing a schema will create instances of the TABLE type in the Designer model.
    Registration creates a new model with new types in the Repository.
    DAvid

  • Export schema and import with different name

    Hi ,
    I need your assistance guys,
    I need to export a schema from a database and then import it with different name to another database. How can I do that?
    I export it with the following command:
    exp userid=system/PW file=May_02_Export.dmp log=May_02_Export.log owner=schema_name statistics="none"
    Now I want to import it but with different name (schma_name).
    Regards

    Did you try FROMUSER and TOUSER option ?
    E:\oracle\product\10.2.0\db_1\install>sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat May 2 20:01:09 2009
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area  167772160 bytes
    Fixed Size                  1247900 bytes
    Variable Size              71304548 bytes
    Database Buffers           92274688 bytes
    Redo Buffers                2945024 bytes
    Database mounted.
    Database opened.
    SQL> create user fromuser identified by fromuser;
    User created.
    SQL> grant resource, create table, create session to fromuser;
    Grant succeeded.
    SQL> create user touser identified by touser;
    User created.
    SQL> grant resource, create table, create session to touser;
    Grant succeeded.
    SQL> conn fromuser/fromuser
    Connected.
    SQL> create table export_table(a char);
    Table created.
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    E:\oracle\product\10.2.0\db_1\install>exp fromuser/fromuser file=e:\a.dmp
    Export: Release 10.2.0.1.0 - Production on Sat May 2 20:03:06 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
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user FROMUSER
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions for user FROMUSER
    About to export FROMUSER's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    . about to export FROMUSER's tables via Conventional Path ...
    . . exporting table                   EXPORT_TABLE          0 rows exported
    . exporting synonyms
    . exporting views
    . exporting stored procedures
    . exporting operators
    . exporting referential integrity constraints
    . exporting triggers
    . exporting indextypes
    . exporting bitmap, functional and extensible indexes
    . exporting posttables actions
    . exporting materialized views
    . exporting snapshot logs
    . exporting job queues
    . exporting refresh groups and children
    . exporting dimensions
    . exporting post-schema procedural objects and actions
    . exporting statistics
    Export terminated successfully without warnings.
    E:\oracle\product\10.2.0\db_1\install>imp help=y
    Import: Release 10.2.0.1.0 - Production on Sat May 2 20:03:47 2009
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    You can let Import prompt you for parameters by entering the IMP
    command followed by your username/password:
         Example: IMP SCOTT/TIGER
    Or, you can control how Import runs by entering the IMP command followed
    by various arguments. To specify parameters, you use keywords:
         Format:  IMP KEYWORD=value or KEYWORD=(value1,value2,...,valueN)
         Example: IMP SCOTT/TIGER IGNORE=Y TABLES=(EMP,DEPT) FULL=N
                   or TABLES=(T1:P1,T1:P2), if T1 is partitioned table
    USERID must be the first parameter on the command line.
    Keyword  Description (Default)       Keyword      Description (Default)
    USERID   username/password           FULL         import entire file (N)
    BUFFER   size of data buffer         FROMUSER     list of owner usernames
    FILE     input files (EXPDAT.DMP)    TOUSER       list of usernames
    SHOW     just list file contents (N) TABLES       list of table names
    IGNORE   ignore create errors (N)    RECORDLENGTH length of IO record
    GRANTS   import grants (Y)           INCTYPE      incremental import type
    INDEXES  import indexes (Y)          COMMIT       commit array insert (N)
    ROWS     import data rows (Y)        PARFILE      parameter filename
    LOG      log file of screen output   CONSTRAINTS  import constraints (Y)
    DESTROY                overwrite tablespace data file (N)
    INDEXFILE              write table/index info to specified file
    SKIP_UNUSABLE_INDEXES  skip maintenance of unusable indexes (N)
    FEEDBACK               display progress every x rows(0)
    TOID_NOVALIDATE        skip validation of specified type ids
    FILESIZE               maximum size of each dump file
    STATISTICS             import precomputed statistics (always)
    RESUMABLE              suspend when a space related error is encountered(N)
    RESUMABLE_NAME         text string used to identify resumable statement
    RESUMABLE_TIMEOUT      wait time for RESUMABLE
    COMPILE                compile procedures, packages, and functions (Y)
    STREAMS_CONFIGURATION  import streams general metadata (Y)
    STREAMS_INSTANTIATION  import streams instantiation metadata (N)
    The following keywords only apply to transportable tablespaces
    TRANSPORT_TABLESPACE import transportable tablespace metadata (N)
    TABLESPACES tablespaces to be transported into database
    DATAFILES datafiles to be transported into database
    TTS_OWNERS users that own data in the transportable tablespace set
    Import terminated successfully without warnings.
    E:\oracle\product\10.2.0\db_1\install>imp system/oracle fromuser=fromuser touser=touser file=e:\a.d
    Import: Release 10.2.0.1.0 - Production on Sat May 2 20:04:20 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
    Export file created by EXPORT:V10.02.01 via conventional path
    Warning: the objects were exported by FROMUSER, not by you
    import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    . importing FROMUSER's objects into TOUSER
    . . importing table                 "EXPORT_TABLE"          0 rows imported
    Import terminated successfully without warnings.
    E:\oracle\product\10.2.0\db_1\install>sqlplus touser/touser
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat May 2 20:04:36 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> desc export_table
    Name                                      Null?    Type
    A                                                  CHAR(1)
    SQL>HTH
    Aman....

  • Exporting and Importing the schema with AQ capability

    Hi,
    We have a production DB which is using Advance queuing and this whole queuing is working fine in Prod but now we have a problem in test Env and it seems that somebody has already tampered the test DB. (the queue reads and sends the messages to DB2)
    So i wanted to export the prod schema and import it to the test schema that we have.
    i wanted to make sure that if i import it to test db , it doesn't send the messages to the prod DB2 database!!
    now it should send the messages to the test DB2 database.
    How can i see where it sends the messages after i imported it ? how can i change it?
    i'm not sure if i have explained my problem in a correct way and if you have understood my question. Please send me messages and i can explain more about it.

    Hi Adhappan
    I have tried importing without success. The import is not consistent. The same schema creates different sets of tables & fields each time. Sometimes if you reimport some more tables which were not set up the first time gets selected for import.
    I did a simple exercise to test the import / export functionality.
    1. I unarchived a repository from standard content provided by SAP
    2. I exported the schema
    3. I tried importing the schema without any modifications to schema
    4. The results were highly inconsistent.
    Arvind
    Pls reward useful answers

  • Sequences incorrect after exporting and importing a scheme

    Hi all,
    Can anyone tell me why when we export a scheme and import it again, all our sequences are not correct anymore? Everything else is exactly the same, just the sequences aren't correct anymore.
    The last export was done in Oracle 10 and the import was done in Oracle 11. But we had this problem also when we were exporting on the same server.
    If you need more information just ask.
    Thanks,
    Pieter

    Lookout Datatable object can only read worksheet file, but unfortunately Excel 2007 can not save as worksheet any more.
    I have not found a way to use datatable with excel 2007 yet.
    One workaround is to use ODBC. Refer to this article.
    http://digital.ni.com/public.nsf/allkb/C8137C6BDA276982862566BA005C5D1F?OpenDocument
    Ryan Shi
    National Instruments

  • Datapump export and import

    Hi,
    i'm trying to export some of the tables from hr schema and import it in orcl schema but after it successfully import i tried to view the tables in orcl schema but it shows me the error as *"ORA-00942: table or view does not exist"*.my whole scripts are below,
    CREATE USER ORCL IDENTIFIED BY HR;
    GRANT CREATE SESSION,IMP_FULL_DATABASE TO ORCL;
    ALTER USER ORCL QUOTA UNLIMITED ON USERS;
    GRANT UNLIMITED TABLESPACE TO ORCL;
    EXPORT:
    D:\>expdp hr/hr schemas=hr include=TABLE:\"IN (\'JOB_HISTORY\',\'REGIONS\',\'COU
    NTRIES\',\'LOCATIONS\',\'DEPARTMENTS\',\'JOBS\',\'EMPLOYEES\')\" directory=ORC_D
    IR dumpfile=hrschema.dmp logfile=hrschema.log
    /*Export: Release 10.2.0.1.0 - Production on Thursday, 12 May, 2011 14:31:06
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Produc
    tion
    With the Partitioning, OLAP and Data Mining options
    Starting "HR"."SYS_EXPORT_SCHEMA_01": hr/******** schemas=hr include=TABLE:"IN
    (\'JOB_HISTORY\',\'REGIONS\',\'COUNTRIES\',\'LOCATIONS\',\'DEPARTMENTS\',\'JOBS\
    ',\'EMPLOYEES\')" directory=ORC_DIR dumpfile=hrschema.dmp logfile=hrschema.log
    Estimate in progress using BLOCKS method...
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 448 KB
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    Processing object type SCHEMA_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    Processing object type SCHEMA_EXPORT/TABLE/COMMENT
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/TRIGGER
    Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
    . . exported "HR"."COUNTRIES" 6.093 KB 25 rows
    . . exported "HR"."DEPARTMENTS" 6.640 KB 27 rows
    . . exported "HR"."EMPLOYEES" 15.80 KB 107 rows
    . . exported "HR"."JOBS" 6.609 KB 19 rows
    . . exported "HR"."JOB_HISTORY" 6.585 KB 10 rows
    . . exported "HR"."LOCATIONS" 7.710 KB 23 rows
    . . exported "HR"."REGIONS" 5.296 KB 4 rows
    Master table "HR"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
    Dump file set for HR.SYS_EXPORT_SCHEMA_01 is:
    D:\ORACLE DIRECTORY\HRSCHEMA.DMP
    Job "HR"."SYS_EXPORT_SCHEMA_01" successfully completed at 14:31:21*/
    IMPORT:
    D:\>impdp orcl/hr schemas=hr include=TABLE:\"IN (\'JOB_HISTORY\',\'REGIONS\',\'C
    OUNTRIES\',\'LOCATIONS\',\'DEPARTMENTS\',\'JOBS\',\'EMPLOYEES\')\" TABLE_EXISTS_
    ACTION=REPLACE directory=ORC_DIR dumpfile=hrschema.dmp logfile=hrschema.log
    /*Import: Release 10.2.0.1.0 - Production on Thursday, 12 May, 2011 14:41:26
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Produc
    tion
    With the Partitioning, OLAP and Data Mining options
    Master table "ORCL"."SYS_IMPORT_SCHEMA_01" successfully loaded/unloaded
    Starting "ORCL"."SYS_IMPORT_SCHEMA_01": orcl/******** schemas=hr include=TABLE:
    "IN (\'JOB_HISTORY\',\'REGIONS\',\'COUNTRIES\',\'LOCATIONS\',\'DEPARTMENTS\',\'J
    OBS\',\'EMPLOYEES\')" TABLE_EXISTS_ACTION=REPLACE directory=ORC_DIR dumpfile=hrs
    chema.dmp logfile=hrschema.log
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    . . imported "HR"."COUNTRIES" 6.093 KB 25 rows
    . . imported "HR"."DEPARTMENTS" 6.640 KB 27 rows
    . . imported "HR"."EMPLOYEES" 15.80 KB 107 rows
    . . imported "HR"."JOBS" 6.609 KB 19 rows
    . . imported "HR"."JOB_HISTORY" 6.585 KB 10 rows
    . . imported "HR"."LOCATIONS" 7.710 KB 23 rows
    . . imported "HR"."REGIONS" 5.296 KB 4 rows
    Processing object type SCHEMA_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    Processing object type SCHEMA_EXPORT/TABLE/COMMENT
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/TRIGGER
    Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
    Job "ORCL"."SYS_IMPORT_SCHEMA_01" successfully completed at 14:41:31*/

    hi phili can yo help me to work out this.here i had used tab in ss.dat file.
    CREATE TABLE ext_emp(e_first_name CHAR(10),
    e_last_name CHAR(10),
    e_email CHAR(22),
    e_phone_number CHAR(10),
    e_manager_name CHAR(18),
    e_department_name CHAR(20),
    e_postal_code CHAR(25),
    e_city CHAR(20),
    e_country_name CHAR(28),
    e_region_name CHAR(30),e_hire_date VARCHAR2(30 CHAR))
    ORGANIZATION EXTERNAL(TYPE ORACLE_LOADER
    DEFAULT DIRECTORY orc_dir
    ACCESS PARAMETERS(RECORDS DELIMITED BY NEWLINE
    BADFILE 'emp_xt.bad'
    LOGFILE 'emp_xt.log'
    FIELDS TERMINATED BY '\t' TRAILING NULLCOLS
    MISSING FIELD VALUES ARE NULL(e_first_name,
    e_last_name,
    e_email,
    e_phone_number,
    e_manager_name,
    e_department_name,
    e_postal_code,
    e_city,
    e_country_name,
    e_region_name,e_hire_date))
    LOCATION ('ss.dat'))
    reject limit unlimited;
    error:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-00554: error encountered while parsing access parameters
    KUP-01005: syntax error: found "identifier": expecting one of: "column, enclosed, exit, (, ltrim, lrtrim, ldrtrim, missing, notrim, optionally, rtrim, reject"
    KUP-01008: the bad identifier was: TRAILING
    KUP-01007: at line 4 column 67
    ORA-06512: at "SYS.ORACLE_LOADER", line 19
    data in ss.dat file:
    Nandita Sarchand NSARCHAN 6505091876 27-Jan-1996 Adam Shipping 99236 South San Francisco United States of America Americas
    TJ Olson TJOLSON 6501248234 10-Apr-1999 Adam Shipping 99236 south San Francisco United States of America Americas

  • Export and import only table structure

    Hi ,
    I have two schema scott and scott2. scott schema is having table index and procedure and scott2 schema is fully empty.
    Now i want the table structure, indexes and procedure from scott schema to scott2 schema. No DATA needed.
    What is the query to export table structure, indexes and procedure from scott schema and import in scott2 schema.
    Once this done, i want scott schema should have full access to scott2 schema.
    Oracle Database 10g Release 10.2.0.1.0 - 64bit Production
    Please help...

    Pravin wrote:
    I used rows=n
    it giving me below error while importing dump file:-
    IMP-00003: ORACLE error 604 encountered
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01013: user requested cancel of current operation^CYou are getting this error because you hit "Ctrl C" during the import, which essentially cancels the import.
    IMP-00017: following statement failed with ORACLE error 604:
    "CREATE TABLE "INVESTMENT_DETAILS_BK210509" ("EMP_NO" VARCHAR2(15), "INFOTYP"
    "E" VARCHAR2(10), "SBSEC" NUMBER(*,0), "SBDIV" NUMBER(*,0), "AMOUNT" NUMBER("
    "*,0), "CREATE_DATE" DATE, "MODIFY_DATE" DATE, "FROM_DATE" DATE, "TO_DATE" D"
    "ATE) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 6684672"
    " FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "DMSTG" LOGG"
    "ING NOCOMPRESS"Srini

  • Export and Import Simultaneously

    Hi All,
    we daily get requests to sync a schemas.
    ex: copy data from user a to user b (both users are in the same database)
    as usual we take export of user A schema and import into user B.
    This process takes somewhere around 80 to 100 mins ( after tuning the imp/exp)
    This steps needs to be done before testing each patch and we have lot of patches to test.we are spending lot of our time in exp/imp and developers are unable to test more than 3 patches a day.
    instead of exp and imp I thought of using copy command . but COPy is not working for tables with clobs and we have a great number of tables with clobs cols.
    I read an article a while ago about exp and imp Simultaneously.
    i.e one process exports the data to a file while the other process reads the data from the same file and imports it. I don't know where did I read this article and I couldn't find it now.
    I would like to know the experts advices/best practices to reduce SYNC time so that our developers can test more patches.
    Oracle: 9.2.0.6.0
    OS : Linux
    Thanks in advance for your help.
    Krishna.

    You can use Pipe nodes and nohup background OS processes.
    A short example:
    # mknod exp_pipe p
    # mknod imp_pipe p
    # cat exp_pipe > exp_file.dmp &
    # cat exp_file.dmp > imp_pipe &
    # nohup exp system full=y file=exp_pipe &
    # nohup imp system file=imp_pipe fromuser=scott touser=scott &
    Regards.
    Marcio Paiva

  • Please provide me unix shell script (export and import of database schema)

    please i am new in unix
    \please give me sample unix shell script (export and import of database schema)

    please i am new in unix
    \please give me sample unix shell script (export and import of database schema)Instead of providing you the readymade unix shell script for your requirement, I will give you the hints to prepare the same at your own.
    Create a file with .sh extension.
    # Specify and set all required Environment variables.
    ORACLE_HOME, PATH, NLS_LANG, etc.,
    # Use the export command with all clauses
    export scott/tiger@orcl file=scott.dmp log=scott_emp.log
    # Compress it.
    compress scott.dmp
    Refer any unix/linux documents for scripting basics.
    http://www.bijoos.com/ora7/oracle_unix.htm
    Regards,
    Sabdar Syed.

  • Import configuration and ICM scripts into ICM 7.5X

    Hi all.
    I just want to find out if it is possible to export configuration & ICM routing/ Admin scripts from ICM 6.0 into ICM 7.5X? I understand that there is an import/export function in the ICM script editor. Can I just export the scripts from ICM script editor 6.0 and import them into ICM script editor 7.5X?
    Appreciate any comment and advice.
    Thanks & Regards,
    Eric

    When you use the EDMT to upgrade your Logger database to be compatible with the 7.5 Schema, all your scripts will be converted. So nothing to do here.
    If you have a 7.5 system (say in the lab) and want to try to export a script in .ICMS format and try to import into a 7.5 script editor, it may very well work. Never tried it myself. You sure have to have a bunch of config in place before importing any script otherwise "unresolved" references - and you can deal with that.
    What is your aim?
    Regards,
    Geoff

  • Exporting and Importing of Schema

    The Export and Import of Schema is not working consistently in SP4.
    When I create a new repository from the schema, all the subtables get created. The main table is has only one field in it. It reads Category.
    The other fields in the main table are missing and are not imported during the Import Schema operation.
    Has anyone encountered the same issue?
    If so, please let me know how you overcame this errorneous behaviour?

    Hi Adhappan
    I have tried importing without success. The import is not consistent. The same schema creates different sets of tables & fields each time. Sometimes if you reimport some more tables which were not set up the first time gets selected for import.
    I did a simple exercise to test the import / export functionality.
    1. I unarchived a repository from standard content provided by SAP
    2. I exported the schema
    3. I tried importing the schema without any modifications to schema
    4. The results were highly inconsistent.
    Arvind
    Pls reward useful answers

  • How to export and import dependent tables from 2 different schema

    I have a setup where schema1 has table 1 and schema 2 has table2. And table 1 from schema1 depends upon table 2 from schema 2.
    I would like to export and import these tables only and not any other tables from these 2 schemas with all information like grants,constraints.
    Also will there be same method for Oracle 10g R1,R2 and Oracle 11G.
    http://download.oracle.com/docs/cd/B12037_01/server.101/b10825/dp_export.htm#i1007514
    Looking at this For table mode it says
    Also, as in schema exports, cross-schema references are not exported
    Not sure what this means.
    As I am interested in only 2 tables I think I need to use table mode. But if I try to run export with both tables names, it says table mode support only one schema at a time. Not sure then How would the constraints would get exported in that case.
    -Rohit

    worked for my 1st time I tried
    exp file=table2.dmp tables="dbadmin.temp1,scott.emp"
    Export: Release 10.2.0.1.0 - Production on Mon Mar 1 16:32:07 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Username: / as sysdba
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export done in US7ASCII character set and AL16UTF16 NCHAR character set
    server uses WE8ISO8859P1 character set (possible charset conversion)
    About to export specified tables via Conventional Path ...
    Current user changed to DBADMIN
    . . exporting table                          TEMP1         10 rows exported
    EXP-00091: Exporting questionable statistics.
    Current user changed to SCOTT
    . . exporting table                            EMP         14 rows exported
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    Export terminated successfully with warnings.

  • Shell Script For Export And Import Of Table Records

    Hello,
    We have production and test instances and for constant testing we need to copy data from production to test or development environment.
    At the moment what we do is manually doing export and import table records. At times this could be very tedious as we may need
    to do this exercise a couple of times in a day.
    Is it a good idea to do this exercise using shell script? If so how could I do this? If this is not a good idea what are the best alternatives?
    Any input is highly appreciated.
    Thanks

    Ah I see, your company prefers stupidity over efficiency. It would be possible to do it in a controlled environment, wouldn't it? Also the test database would be allowed to select only.
    So the non-allowance is just plain stupid.
    To the second question: do you use hard-coded passwords in shell scripts?
    Don't you think that poses a security risk?
    Don't you think that is a bigger risk than a database link, properly set up?
    In my book it is!
    Sybrand Bakker
    Senior Oracle DBA

  • Export and Import of APPS and Applsys Schemas in R12

    Hi ,
    Can you please let me know Export and Import of APPS and Applsys Schemas in R12 will cause any issue ?
    Thanks and Regards,
    Jagadeesha.

    Can you please let me know Export and Import of APPS and Applsys Schemas in R12 will cause any issue ?If you mean exporting/importing only those two schema between different instances then this is not supported (due to other schema dependencies) and the only supported way to export those two schema is by exporting/importing the complete database.
    Export/Import Process for Oracle E-Business Suite Release 12 using 10gR2 [ID 454616.1]
    Export/import process for R12 using 11gR1 or 11gR2 [ID 741818.1]
    Thanks,
    Hussein

Maybe you are looking for

  • Error according printing html report

    I bulid a vi to print HTML report but I have problem printing this report . I try ever to used some example which national Instrument bulid , such as Report Generation > Text Report, but ever in this example I couldn't print the file (HTML).

  • Use of WebLogic in a thin hardware client environment?

    We are currently evaluating the use of a thin hardware client (something like the Sun Microsystems Sun Ray 2FS - http://www.sun.com/sunray/sunray2fs/) for a new JEE development effort. I was wondering if anyone could share their experiences using Web

  • How can I use screen lock and auto-logout together?

    I'm managing a network of Macbook Pros at an elementary school and would like to use both the screen lock and automatic logout features together, but this does not seem to work for some reason. What I would like to happen: After 5 minutes: locked scr

  • Equim L40-14I + Tecra A3 HD Swap - Assistance Needed

    I had a Toshiba Equium L40-14I but i fried to motherboard. I have removed the hard drive from it and am trying to replace my Toshiba Tecra A3 hard drive with my Equium one. But the connectors on the hard drives are different. How do I go about changi

  • Screen display density variations between files

    I have several files linked together as a book. For some reason the density of lineweight and fonts in one of the files "appears" lighter than the others on my monitor. With the other (7) files the lines and fonts definitely "look" heavier... I've ch