Exportiing/importing views in oracle 9i

I need to copy data from one view to another view using exp/imp feature.
I need to export a view temp_view which is on top of temp_table. The target view is temp_target_view which is on top of another table say target_table.
Could you please provide me steps (with commands) to perform this operation?
The limitation that I have is I cannot use source/target tables to do exp/imp. Instead I need to use only the views on top of them.
Thanks in advance.

Hi,
can I recommend TOAD - it has some very nice data export utilities....
In it you can
desc my_view_v
Then export data from grid as insert statements.
Very quick and easy to use.
Or, you can do the same thing with sql...
select 'insert into my_view_v (field1,field2) values ('||field1||','||field2||');'n.b. You will have to pad varchars with apostrophes, and this obviously only works on simple data types...
n.b. 2 - Watch out for restricted characters & ; ' - you may have to translate and untranslate some of these, though SET DEFINE OFF; saves you a lot of grief on that front...
regards,
Robert.
regards,
Robert.

Similar Messages

  • Guide me for exporting and importing data from oracle 10g to oracle 9i

    I have been trying export and import options in oracle but m not very clear about the procedure..
    Also when i am logging in as Scott/tiger i am facing an error
    ORA 1542 - tablespace 'USER' is offline and cannot allocate space in it.how to resolve it

    Hello,
    I see two questions.
    ORA 1542 - tablespace 'USER' is offline and cannot allocate space in it.how to resolve it About the error ORA-01542 you have to bring the Tablespace USERS online:
    http://www.error-code.org.uk/view.asp?e=ORACLE-ORA-01542
    If you cannot bring it online you may have to Recover it first.
    I have been trying export and import options in oracle but m not very clear about the procedure..About the Export in 10g and Import in 9i (9.2 or 9.0.1 ?), you have to export with the Export utility of the Target Database (the lowest Database version here: 9.0.1 or 9.2) then, you have to Import to the Target Database using its Import utility (in 9.0.1 or 9.2).
    The following Note of MOS may guide you:
    Compatibility Matrix for Export And Import Between Different Oracle Versions [Video] [ID 132904.1]
    NB: You cannot use here the DATAPUMP.
    Hope this help.
    Best regards,
    Jean-Valentin

  • IMP-00023 Import views not installed, please notify your DBA

    Hi,
    After I installed 9i on win2k and try to import a dmp to 8.1.7 database, I got this error message along with:
    IMP-00003: ORACLE error 942 encountered
    ORA-00942: table or view does not exist
    IMP-00023: Import views not installed, please notify your DBA
    IMP-00000: Import terminated unsuccessfully
    Does anybody know how to fix it?
    Thanks

    This is usually caused by an incompatibility between
    the export and import versions.
    I have found the best way is to use the same version to provide compatibility
    Bob

  • Import views into database

    Is it possible to export the around 250 views from oracle 10g database.
    after the export of the views I need to import into dev oracle10g database
    It is possible. Please provide the steps

    user8680248 wrote:
    Is it possible to export the around 250 views from oracle 10g database.
    after the export of the views I need to import into dev oracle10g database
    It is possible. Please provide the stepsYES
    Use "INCLUDE=VIEW" parameter

  • Import views from dumpfile

    i have created a dumpfile with expdp from a schema that had tables, views and procedures. I want to restore only the schema's views , not the tables with impdp.- These are regular views, not materialzed views. What is the impdp syntax for importing views?
    Thanks
    Oracle 10G
    Hp-ux 11.23

    run your regular impdp command but add:
    include=view
    This will include only views.
    Dean

  • How to wrap a view in oracle

    Does any one know how to wrap a view in Oracle, I know it is not possible, yet. Are there any third party software to wrap the logic in the view.
    Thanks,
    Sanjay

    Your best bet is to write a view that queries the source tables and contains any necessary business logic
    CREATE VIEW VBASE AS SELECT A.COLUMN_A FROM TABLE_1 A, TABLE_2 B, TABLE_3 C WHERE A.ID = B.ID AND B.ID = C.ID;
    create a view for exposure to the user that queries the base view.
    CREATE VIEW VSECURE AS SELECT COLUMN_B FROM VBASE;
    and grant privileges to VSECURE.
    GRANT SELECT ON VSECURE TO SECURE_USER;
    This will allow the user to see, query, and describe VSECURE without seeing the definition for VBASE.
    The advantage of the this approach is that the query engine can still push predicates down into the base view to optimize the performance or the query where as this is limited with the pipeline function and can become a tuning headache.
    eg.
    SQL> -----------------------------------------
    SQL> -- create some tables
    SQL> -----------------------------------------
    SQL> CREATE TABLE table_1(ID NUMBER, MESSAGE VARCHAR2(100))
    Table created.
    SQL> CREATE TABLE table_2(ID NUMBER, message2 VARCHAR2(100))
    Table created.
    SQL> CREATE TABLE table_3(ID NUMBER, message3 VARCHAR2(100))
    Table created.
    SQL> -----------------------------------------
    SQL> -- populate tables with some data
    SQL> -----------------------------------------
    SQL> INSERT INTO table_1
    SELECT ROWNUM,
    CASE
    WHEN MOD ( ROWNUM, 50 ) = 0 THEN 'HELLO there joe'
    ELSE 'goodbye joe'
    END
    FROM DUAL
    CONNECT BY LEVEL < 1000000
    999999 rows created.
    SQL> INSERT INTO table_2
    SELECT ROWNUM,
    CASE
    WHEN MOD ( ROWNUM, 50 ) = 0 THEN 'how are you joe'
    ELSE 'good to see you joe'
    END
    FROM DUAL
    CONNECT BY LEVEL < 1000000
    999999 rows created.
    SQL> INSERT INTO table_3
    SELECT ROWNUM,
    CASE
    WHEN MOD ( ROWNUM, 50 ) = 0 THEN 'just some data'
    ELSE 'other stuff'
    END
    FROM DUAL
    CONNECT BY LEVEL < 1000000
    999999 rows created.
    SQL> -----------------------------------------
    SQL> --create base view
    SQL> -----------------------------------------
    SQL> CREATE OR REPLACE VIEW vbase AS
    SELECT a.MESSAGE,
    c.message3
    FROM table_1 a,
    table_2 b,
    table_3 c
    WHERE a.ID = b.ID
    AND b.ID = c.ID
    View created.
    SQL> -----------------------------------------
    SQL> --create secure view using base view
    SQL> -----------------------------------------
    SQL> CREATE OR REPLACE VIEW vsecure AS
    SELECT MESSAGE,
    message3
    FROM vbase
    View created.
    SQL> -----------------------------------------
    SQL> -- create row type for pipeline function
    SQL> -----------------------------------------
    SQL> CREATE OR REPLACE TYPE vbase_row
    AS OBJECT
    message varchar2(100),
    message3 varchar2(100)
    Type created.
    SQL> -----------------------------------------
    SQL> -- create table type for pipeline function
    SQL> -----------------------------------------
    SQL> CREATE OR REPLACE TYPE vbase_table
    AS TABLE OF vbase_row;
    Type created.
    SQL> -----------------------------------------
    SQL> -- create package
    SQL> -----------------------------------------
    SQL> CREATE OR REPLACE PACKAGE pkg_getdata AS
    FUNCTION f_get_vbase
    RETURN vbase_table PIPELINED;
    END;
    Package created.
    SQL> -----------------------------------------
    SQL> -- create package body with pipeline function using same query as vbase
    SQL> -----------------------------------------
    SQL> CREATE OR REPLACE PACKAGE BODY pkg_getdata AS
    FUNCTION f_get_vbase
    RETURN vbase_table PIPELINED IS
    CURSOR cur IS
    SELECT a.MESSAGE,
    c.message3
    FROM table_1 a,
    table_2 b,
    table_3 c
    WHERE a.ID = b.ID
    AND b.ID = c.ID;
    BEGIN
    FOR rec IN cur
    LOOP
    PIPE ROW ( vbase_row ( rec.MESSAGE, rec.message3 ) );
    END LOOP;
    END;
    END pkg_getdata;
    Package body created.
    SQL> -----------------------------------------
    SQL> -- create secure view using pipeline function
    SQL> -----------------------------------------
    SQL> CREATE or replace VIEW vsecure_with_pipe AS
    SELECT *
    FROM TABLE ( pkg_getdata.f_get_vbase ( ) )
    View created.
    SQL> -----------------------------------------
    SQL> -- this would grant select on the 2 views, one with nested view, one with nested pipeline function
    SQL> -----------------------------------------
    SQL> GRANT SELECT ON vsecure TO test_user
    Grant complete.
    SQL> GRANT SELECT ON vsecure_with_pipe TO test_user
    Grant complete.
    SQL> explain plan for
    SELECT *
    FROM vsecure
    WHERE MESSAGE LIKE 'HELLO%'
    Explain complete.
    SQL> SELECT *
    FROM TABLE ( DBMS_XPLAN.display ( ) )
    PLAN_TABLE_OUTPUT
    Plan hash value: 3905984671
    | Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 16939 | 2365K| | 3098 (3)| 00:00:54 |
    |* 1 | HASH JOIN | | 16939 | 2365K| 2120K| 3098 (3)| 00:00:54 |
    |* 2 | HASH JOIN | | 24103 | 1835K| | 993 (5)| 00:00:18 |
    |* 3 | TABLE ACCESS FULL| TABLE_1 | 24102 | 1529K| | 426 (5)| 00:00:08 |
    | 4 | TABLE ACCESS FULL| TABLE_2 | 1175K| 14M| | 559 (3)| 00:00:10 |
    | 5 | TABLE ACCESS FULL | TABLE_3 | 826K| 51M| | 415 (3)| 00:00:08 |
    Predicate Information (identified by operation id):
    1 - access("B"."ID"="C"."ID")
    2 - access("A"."ID"="B"."ID")
    3 - filter("A"."MESSAGE" LIKE 'HELLO%')
    Note
    PLAN_TABLE_OUTPUT
    - dynamic sampling used for this statement
    23 rows selected.
    SQL> -----------------------------------------
    SQL> -- note that the explain plan shows the predicate pushed down into the base view.
    SQL> -----------------------------------------
    SQL> explain plan for
    SELECT count(*)
    FROM vsecure_with_pipe
    WHERE MESSAGE LIKE 'HELLO%'
    Explain complete.
    SQL> SELECT *
    FROM TABLE ( DBMS_XPLAN.display ( ) )
    PLAN_TABLE_OUTPUT
    Plan hash value: 19045890
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 2 | 15 (0)| 00:00:01 |
    | 1 | SORT AGGREGATE | | 1 | 2 | | |
    |* 2 | COLLECTION ITERATOR PICKLER FETCH| F_GET_VBASE | | | | |
    Predicate Information (identified by operation id):
    2 - filter(VALUE(KOKBF$) LIKE 'HELLO%')
    14 rows selected.
    SQL> -----------------------------------------
    SQL> -- note that the filter is applied on the results of the pipeline function
    SQL> -----------------------------------------
    SQL> set timing on
    SQL> SELECT count(*)
    FROM vsecure
    WHERE MESSAGE LIKE 'HELLO%'
    COUNT(*)
    19999
    1 row selected.
    Elapsed: 00:00:01.42
    SQL> SELECT count(*)
    FROM vsecure_with_pipe
    WHERE MESSAGE LIKE 'HELLO%'
    COUNT(*)
    19999
    1 row selected.
    Elapsed: 00:00:04.11
    SQL> -----------------------------------------
    SQL> -- note the difference in the execution times.
    SQL> -----------------------------------------

  • Import error on Oracle Database Express 10.2.0.1.0

    Hi,
    I try to import data from oracle V10.01.02 running on SUSE10 Linux to
    oracle 10g (10.1.0.2.0) running on Windows Server 2003.
    I am able to import the big part from my ata, but not all data.
    The begin of my log file is:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0
    - Production
    With the Partitioning, OLAP and Data Mining options
    Export file created by EXPORT:V10.01.00 via conventional path
    And after some time I receive:
    IMP-00019: row rejected due to ORACLE error 12899
    IMP-00003: ORACLE error 12899 encountered
    ORA-12899: value too large for column "SAFCI"."EMP"."NAME"
    (actual: 65, maximum: 64)
    Column 1 1000005025
    Column 2 ??????? ???????
    Column 3 19-SEP-2002:00:00:00
    Column 4 9089
    Column 5 ??. ?????
    Column 6 1.9828
    Column 7 377.77
    Column 8 75.55
    Column 9 ???????????? ???????? ? ??? ???? ? 32 ??.
    Column 10 19-SEP-2002:00:00:00
    Column 11 ?????? ?????, ?.?. 172747675, ???. 23.11.200?
    Column 12 ????????? ?????????
    Column 13 ? ????
    Column 14 T
    Column 15
    Column 16 F
    IMP-00019: row rejected due to ORACLE error 12899
    IMP-00003: ORACLE error 12899 encountered
    ORA-12899: value too large for column "SAFCI"."EMP"."NAME"
    (actual: 65, maximum: 64)
    Column 1 1000006408
    Column 2 ??????? ???????
    Column 3 05-NOV-2002:00:00:00
    Column 4 9089
    Column 5 ??. ?????
    Column 6 1.939
    Column 7 82
    Column 8 16.4
    Column 9 ?????????? ? ???? ???? ? 40 ??.
    Column 10 05-NOV-2002:00:00:00
    Column 11 ?????? ?????, ?.?. 172747675, ???. 23.11.200?
    Column 12 ????????? ?????????
    Column 13 ? ????
    Column 14 T
    Column 15
    Column 16 F 36943 rows imported
    I can not understand this problem, because I exported the hole user and
    also try to import the hole user in my new system.
    Pls., can some one point me to some paper about this problem or help me
    to solve the problem.
    Thanks
    configuration Oracle10g (EXP source)
    SQLWKS> select * from nls_database_parameters
    2>
    PARAMETER VALUE
    NLS_LANGUAGE BRAZILIAN PORTUGUESE
    NLS_TERRITORY BRAZIL
    NLS_CURRENCY R$
    NLS_ISO_CURRENCY BRAZIL
    NLS_NUMERIC_CHARACTERS ,.
    NLS_CHARACTERSET WE8ISO8859P1
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD/MM/RR
    NLS_DATE_LANGUAGE BRAZILIAN PORTUGUESE
    NLS_SORT WEST_EUROPEAN
    NLS_TIME_FORMAT HH24:MI:SSXFF
    NLS_TIMESTAMP_FORMAT DD/MM/RR HH24:MI:SSXFF
    NLS_TIME_TZ_FORMAT HH24:MI:SSXFF TZR
    NLS_TIMESTAMP_TZ_FORMAT DD/MM/RR HH24:MI:SSXFF TZR
    NLS_DUAL_CURRENCY Cr$
    NLS_COMP BINARY
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CONV_EXCP FALSE
    NLS_NCHAR_CHARACTERSET AL16UTF16
    NLS_RDBMS_VERSION 10.1.0.2.0
    configuration Oracle10g Express (IMP destination)
    SQL> select * from nls_database_parameters;
    PARAMETER VALUE
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    NLS_CHARACTERSET AL32UTF8
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_SORT BINARY
    NLS_TIME_FORMAT HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY $
    NLS_COMP BINARY
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CONV_EXCP FALSE
    NLS_NCHAR_CHARACTERSET AL16UTF16
    NLS_RDBMS_VERSION 10.2.0.1.0

    Hi
    Your import database use a multibyte characterset, your export db a singlebyte cs.
    This means, a char can need more than 1 byte.
    Try this before import (and before create tables!!):
    alter system set nls_length_semantics=char;Greetings
    Sven

  • How to Register a View in Oracle Applications

    Hi,
    I have created a Custom View and want it to see it in one of the BPA Pages. For this purpose I shall need to register the view in Oracle Applications.
    Can you please provide me clues to do so. I tried the Application Developer responsibility, there I can only query the view and not register them.
    Also if I try using backend I could get hold of Package AD_DD which registers a table. Any clues for registering the View would be welcome.
    Thanks

    Thanks for your response.
    Actually I need to show Sales Order Line No, Federal Id and a few other Fields on our Invoice. Now these are not available in Oracle Recievables view. So I was trying to create my own View.
    I created a View in database. Now I am trying to create a Data source and associate this (custom created) View to it. However my View is not showing in the Views List of Values.
    I am not sure whether I am doing it right. Can you please help me with this. Any pointers to a document which explains my requirement would be great.
    Thanks
    Sumit

  • Creating a Materialized View in Oracle 8i

    Hello -
    What are the steps and privileges required to create a materialized view in Oracle 8i?
    Thanks

    To create a materialized view in your own schema:
    You must have been granted the CREATE MATERIALIZED VIEW system privilege and either the CREATE TABLE or CREATE ANY TABLE system privilege.
    You must also have access to any master tables of the materialized view that you do not own, either through a SELECT object privilege on each of the tables or through the SELECT ANY TABLE system privilege.
    To create a materialized view in another user's schema:
    You must have the CREATE ANY MATERIALIZED VIEW system privilege.
    The owner of the materialized view must have the CREATE TABLE system privilege. The owner must also have access to any master tables of the materialized view that the schema owner does not own (for example, if the master tables are on a remote database), and to any materialized view logs defined on those master tables, either through a SELECT object privilege on each of the tables or through the SELECT ANY TABLE system privilege.
    Thanks
    Manish

  • Error while importing tables from oracle database

    Hi
    I am getting the following error when i am trying to import table from oracle database.
    my operating system is windows and my database is oracle.
    [nQSError: 16001]ODBC error state: IM004 code:0 message:
    [Microsoft][ODBC Driver Manager] Driver`s SQLAllocHandle on SQL_HANDLE_ENV failed.
    please help me in resolving this issue.
    Thanks and Regards,
    Raj

    Hi Madan,
    I have done migration Discoverer Admin EUL Layer into OBIEE repository using below methodology.
    Navigate to the <installdrive>\OracleBI\server\Bin directory. There are two important files in this directory: the migration assistant executable file named MigrateEUL.exe and a properties configuration file named MigrationConfig.properties.
    Could you please help me how to migrate discoverer plus workbooks and worksheets into OBIEE Answers?
    go through below link, It will show navigation steps for migrating of EUL from Discoverer to OBIEE.But i need migration of workbooks and worksheets from Discoverer into OBIEE Answers.
    http://www.oracle.com/technology/obe/obe_bi/discoverer/discoverer_1012/discomigration/migrate_disco_biee.htm
    This is very great full help to me …
    Advance thanks for your suggestions.
    Regards
    Duraga Prasad.

  • Problem in importing data in oracle 10g from 9i backup

    Hi ,
    Am trying to import data in oracle 10g..but it does not importing constraints, and stop doing anything by the msg.
    About to enable constraints.....
    after this msg it does not work.
    plz help,
    Regards,
    Neha

    Hi Neha,
    You have a lot of options. I'll supose you can test first, and you're using an export file.
    First forget about the data, think in your database structure. So you can do this:
    exp userid=... file=exp_norows.dmp full=y rows=n statistics=none
    Now you have the structure of your database. Create the database, in 10g, empty, check you have all filesystem, etc. for you new datafiles. And do the import with parameter ignore=y, you'll see a lot off errors on SYSTEM schema, don't worry about it.
    Now you have the structure of you database in 10g. You can take a look in the import log file, looking for some possible errors come from your schemas. so check the objects, and check the schemas.
    Bear in mind things like CONNECT role in 9i it's different in 10g, you can't create db_links in 10g with "IDENTIFIED BY VALUES" because you'll get an ORA-00600, etc.
    Well, fix all problems on source database (9i) and repeate this procedure until you don't recieve any more errors (not a SYSTEM schema errors).
    When you have everything solved, you can try to import the data.
    I hope, this method can help you. If you have any problem do not hesitate to ask me.
    John Ospino Rivas

  • Import TXT to oracle table

    Hi All,
    I`m using this script to import TXT to oracle table.
    create table test (
    pol_no varchar2(10)
    organization external (
    type oracle_loader
    default directory ri_data_dir
    access parameters (
    nobadfile
    fields terminated by ',')
    location ('policyno_20080229.TXT')
    reject limit unlimited
    but when i select * from test ;
    ODCIEXTTABLEOPEN callout

    funny, that you get that short error. I get:
    select * from test
    ERROR at line 1:
    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 "nobadfile": expecting one of: "column, debug, exit, fields, records"
    KUP-01007: at line 1 column 1
    ORA-06512: at "SYS.ORACLE_LOADER", line 19
    ORA-06512: at line 1so, remove the unknown word "nobadfile", and it works fine. thank god that I have the verbose error handler!

  • Import error from oracle 10.1.0  to oracle 10. 2.0

    Hi
    I am importing schema from oracle 10.1.0 to oracle 10.2.0.
    my all objects are imported successfully except foreign key constraints.
    my error are like
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 5167
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE  SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := NULL; SREC.MAXVAL :="
    " NULL; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(0,0); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STAT"
    "S.SET_COLUMN_STATS(NULL,'"PRODUCT_MASTER"','"PRODUCTID"', NULL ,NULL,NULL,0"
    ",0,0,srec,0,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE  SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := NULL; SREC.MAXVAL :="
    " NULL; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(0,0); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STAT"
    "S.SET_COLUMN_STATS(NULL,'"PRODUCT_MASTER"','"PRODUCT_CODE"', NULL ,NULL,NUL"
    "L,0,0,0,srec,0,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE  SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := NULL; SREC.MAXVAL :="
    " NULL; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(0,0); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STAT"
    "S.SET_COLUMN_STATS(NULL,'"PRODUCT_MASTER"','"PRODUCT_NAME"', NULL ,NULL,NUL"
    "L,0,0,0,srec,0,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE  SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := NULL; SREC.MAXVAL :="
    " NULL; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(0,0); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STAT"
    "S.SET_COLUMN_STATS(NULL,'"PRODUCT_MASTER"','"SHORT_DESC"', NULL ,NULL,NULL,"
    "0,0,0,srec,0,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE  SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := NULL; SREC.MAXVAL :="
    " NULL; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(0,0); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STAT"
    "S.SET_COLUMN_STATS(NULL,'"PRODUCT_MASTER"','"DESCRIPTION"', NULL ,NULL,NULL"
    ",0,0,0,srec,0,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE  SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := NULL; SREC.MAXVAL :="
    " NULL; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(0,0); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STAT"
    "S.SET_COLUMN_STATS(NULL,'"PRODUCT_MASTER"','"PRODUCTLIMG"', NULL ,NULL,NULL"
    ",0,0,0,srec,0,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE  SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := NULL; SREC.MAXVAL :="
    " NULL; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(0,0); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STAT"
    "S.SET_COLUMN_STATS(NULL,'"PRODUCT_MASTER"','"PRODUCTMIMG"', NULL ,NULL,NULL"
    ",0,0,0,srec,0,6); END;"
    IMP-00003: ORACLE error 20001 encounteredthanks

    you can import the stats with importing objects , you can pass parameter STATISTICS =none ( do not import the stats).
    STATISTICS -- import precomputed statistics (always)
    Try this.
    --Girish                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Import Functionality in Oracle ADF BC with Jdeveloper 11.1.1.2

    Hi all,
    I am using Jdeveloper 11.1.1.2 and I am trying to import functionality in my application.
    I am following the steps of: http://andrejusb.blogspot.com/2008/07/import-functionality-in-oracle-adf-bc.html
    I have 2 data model and I would like to import the functionality of one data model, in the other.
    My problem is when I tried: myModel2-->right click-->project properties-->deployment-->edit
    I don't see nothing to filter myModel2, I see only Library Dependencies, Connections, JAR Options ADF Validation.
    If I tried : myModel2-->right click-->project properties-->deployment-->new-->filters
    I see only the folders: Merged Contents of this file Group's contributor, .data, 00000000
    But I can't see the folders I have (mypackage.test.model.entities).
    Where I can found them? Is there a workaround?
    Any suggestions?
    Thanks
    Andrea

    Ok, but I taught that after importing myModel2 in myModel1, Jdeveloper realise a merge and it visualizes a unique package, even if it is splitted on two or more projects/models.
    So that, it seems to me this procedure is useful for importing jar file, but not for splitting a very big project in a lot of smaller projects, doesn't it?
    Thanks for your opinion
    Andrea

  • Permissions required for an user to create a View in Oracle 10.2.0.1.0

    Hi,
    I am facing one serious issue with Oacle 10.2.0.1.0.
    I have an user (Atlas) created with below permissions.
    grant connect to atlas;
    grant resource to atlas;
    grant create public synonym to atlas;
    grant select any dictionary to atlas;
    grant query rewrite to atlas;
    I will create my database schema on this user Atlas. All my scripts are executing properly with Oracle 9i and 10g version 10.1.0.2.0. But when it comes to Oracle 10g version 10.2.0.1.0 the views creation is throwing an error saying that Insufficient Priviliges.
    I didn't get why this error is coming.
    What previliges does an user should require for creating a view in Oracle 10.2.0.1.0 version?
    I have installed Enterprise version of Oracle 10.2.0.1.0. Please suggest me with this.
    Thanks
    Rao

    CREATE VIEW was taken away from connect or resouce in 10.2.x. It has to be explicity granted... Not sure what this has to do with XML per-se :)

Maybe you are looking for

  • Safari won't open to 'all windows from last session'

    Safari is set to open to 'all windows from last session' - but it opens to a blank page.  Not every time, but 75%+.  I usually have multiple tabs open, not always the same ones, and this is slow, annoying and tedious to frequently reconstruct where I

  • IPhone 4 will not connect to Apple

    No matter how hard I try, or how many times I try I cannot get my sister in law's iPhone 4s to update it's software to 5.1  Despite it being connected to a strong wireless signal that I managed to update mine from on my laptop, it downloads the updat

  • Apple's iPod recycling program apply to iPhone

    My 4th generation iPod finally died on me and I'm thinking of using this as my excuse to replace it with an iPhone. I'm wondering if the iPod recycling program (http://www.apple.com/environment/recycling/), w/ it's 10% rebate on the purchase of a new

  • How to reflect new changes in older instance of work flow?

    Hi All, I am working on a custom workflow. This workflow is triggered by web dynpro component. Earlier my custom infotype was getting updated from web dynpro, and work flow is used to maintain process flow. But currently we started facing some author

  • I would like to seek your suggestion on this

    Hi SAP BPC Experts, I hope you are doing good...! We have an issue with currency conversion in our current model which is planning model (Finance) Procedure which we have followed. - Uploaded the FX rates data by using Rate model (Standard Dimensions