Import Schema with tables resized

I've created a new database and would like to import a schema from another database. I want everything from the schema I'm importing however I want to resize the tables.
I was wondering what would be the best way to handle this. I can create the tables first with the new specs and then import the schema with the "ignore=yes" option. I'm not sure however if this will cause errors. Any suggestions?
Thanks.

Hi,
If you exported data with "compress=y" option (which is the default) tables would be automatically reorganized (import create one extent = total actual size).
Anyway, if you need a different size for your tables, the procedure you posted is correct.
Paolo

Similar Messages

  • Import Schema with error

    When i try to import a schema from one oracle to another one (also 11g), it shows the following errors:
    Job 999 has been reopened at Wednesday, 12 October, 2011 16:05
    Restarting "SYS1"."999":
    Processing object type SCHEMA_EXPORT/USER
    ORA-39083: Object type USER failed to create with error:
    ORA-00959: tablespace 'HSS' does not exist
    Failing sql is:
    CREATE USER "HSS" IDENTIFIED BY VALUES 'S:EFC32883462E172BE4E973549229FAD75D854E3B6E24F44EB8830F6D09C9;F258BD7AE1E5E74B' DEFAULT TABLESPAC
    E "HSS" TEMPORARY TABLESPACE "TEMP"
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    ORA-39083: Object type SYSTEM_GRANT failed to create with error:
    ORA-01917: user or role 'HSS' does not exist
    Failing sql is:
    GRANT CREATE VIEW TO "HSS"
    Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
    ORA-39083: Object type DEFAULT_ROLE failed to create with error:
    ORA-01918: user 'HSS' does not exist
    Failing sql is:
    ALTER USER "HSS" DEFAULT ROLE ALL
    Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    ORA-39083: Object type PROCACT_SCHEMA failed to create with error:
    ORA-31625: Schema HSS is needed to import this object, but is unaccessible
    ORA-01435: user does not exist
    Failing sql is:
    BEGIN
    sys.dbms_logrep_imp.instantiate_schema(schema_name=>SYS_CON
    TEXT('USERENV','CURRENT_SCHEMA'), export_db_name=>'ORCL', inst_scn=>'1940096');COMMIT; END;
    ORA-39083: Object type TABLE:"HSS"."WKS_PROPERTY" failed to create with error:
    ORA-01918: user 'HSS' does not exist
    Failing sql is:
    CREATE TABLE "HSS"."WKS_PROPERTY" ("ID" NUMBER(10,0) NOT NULL ENABLE, "NAME" VARCHAR2(255 BYTE) NOT NULL ENABLE, "VAL" CLOB
    NOT NULL ENABLE, "ORD" NUMBER(10,0) NOT NULL ENABLE) SEGMENT CREATION DEFERRED PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING TABLESPACE "HSS" LOB ("VAL") STORE AS BASICFILE ( TABLESPACE "HSS" ENABLE STORAGE IN ROW CHUNK 8192 NOCACHE L
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    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/VIEW/VIEW
    ORA-39083: Object type VIEW failed to create with error:
    ORA-31625: Schema HSS is needed to import this object, but is unaccessible
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.KUPW$WORKER", line 6573
    ORA-44001: invalid schema
    Job "SYS1"."999" completed with 102 error(s) at 16:05:12
    Execution errors encountered.
    Job state: COMPLETED
    Can anyone give me a hand?
    Many thanks

    thanks after i create the tablespace in destination db the import can process but it still show some error
    Job 9 has been reopened at Wednesday, 12 October, 2011 17:46
    Restarting "SYS1"."9":
    Processing object type SCHEMA_EXPORT/USER
    ORA-31684: Object type USER:"HSS" already exists
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    Processing object type SCHEMA_EXPORT/ROLE_GRANT
    Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
    Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
    ORA-31684: Object type SEQUENCE:"HSS"."LCM-MIGRATION_ID-SEQ" already exists
    ORA-31684: Object type SEQUENCE:"HSS"."WKS_IDENTITY_SEQ" already exists
    ORA-31684: Object type SEQUENCE:"HSS"."ESS_FAILOVER_RESOURCE_SEQ" already exists
    ORA-31684: Object type SEQUENCE:"HSS"."ESS_FAILOVER_LEASE_OWNER_SEQ" already exists
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    . . imported "HSS"."CSS_ROLE_LOCALES" 1.258 MB 5322 rows
    . . imported "HSS"."CSS_ROLE_MEMBERS" 43.88 KB 127 rows
    . . imported "HSS"."HSS_COMPONENT_FILES" 23.69 KB 13 rows
    . . imported "HSS"."CSS_GROUPS" 8.476 KB 1 rows
    . . imported "HSS"."CSS_IDENTITY" 6.484 KB 2 rows
    . . imported "HSS"."CSS_MEMBER_TYPE" 5.468 KB 3 rows
    . . imported "HSS"."CSS_PROVISIONING_INFO" 14.12 KB 18 rows
    . . imported "HSS"."CSS_ROLES" 42.69 KB 174 rows
    . . imported "HSS"."CSS_USERS" 10.63 KB 1 rows
    . . imported "HSS"."HSS_COMPONENT" 11.07 KB 57 rows
    . . imported "HSS"."HSS_COMPONENT_LINKS" 16.93 KB 134 rows
    . . imported "HSS"."HSS_COMPONENT_PROPERTY_VALUES" 38.67 KB 434 rows
    . . imported "HSS"."HSS_COMPONENT_TYPES" 10.01 KB 143 rows
    . . imported "HSS"."PRODUCT" 8 KB 13 rows
    . . imported "HSS"."QRTZ_LOCKS" 5.109 KB 5 rows
    . . imported "HSS"."SMA_AUDIT_AREA_DIM" 8.015 KB 28 rows
    . . imported "HSS"."SMA_CONFIG" 16.31 KB 116 rows
    . . imported "HSS"."SMA_FILTER_DIM" 15.40 KB 116 rows
    . . imported "HSS"."SMA_GLOBAL_CONFIG_MAP" 15.24 KB 116 rows
    . . imported "HSS"."SMA_GLOBAL_SETTING" 7.664 KB 1 rows
    . . imported "HSS"."SMA_TASK_DIM" 16.54 KB 116 rows
    . . imported "HSS"."CES_ACL_INFO" 0 KB 0 rows
    . . imported "HSS"."CES_APPS" 0 KB 0 rows
    . . imported "HSS"."CES_AUTO_PROCESS_TASK" 0 KB 0 rows
    . . imported "HSS"."CES_MESSAGES" 0 KB 0 rows
    . . imported "HSS"."CES_PARTICIPANT" 0 KB 0 rows
    . . imported "HSS"."CES_PARTICIPANT_EVENTS" 0 KB 0 rows
    . . imported "HSS"."CES_PROCESS_DEF" 0 KB 0 rows
    . . imported "HSS"."CES_PUSH_AUTO_PROCESS_TASK" 0 KB 0 rows
    . . imported "HSS"."CES_SYSTEM" 0 KB 0 rows
    . . imported "HSS"."CES_TASKS" 0 KB 0 rows
    . . imported "HSS"."CES_TASKS_RESULT" 0 KB 0 rows
    . . imported "HSS"."CES_USERS" 0 KB 0 rows
    . . imported "HSS"."CES_WF_INSTANCES" 0 KB 0 rows
    . . imported "HSS"."CSS_DELEGATED_LIST" 0 KB 0 rows
    . . imported "HSS"."CSS_DELEGATED_MEMBERS" 0 KB 0 rows
    . . imported "HSS"."CSS_GROUP_CACHE_DELTA" 0 KB 0 rows
    . . imported "HSS"."CSS_GROUP_MEMBERS" 0 KB 0 rows
    . . imported "HSS"."CSS_USER_PREFERENCES" 0 KB 0 rows
    . . imported "HSS"."ESS_CLUSTER_SERVER_MAPPING" 0 KB 0 rows
    . . imported "HSS"."ESS_FAILOVER_LEASE" 0 KB 0 rows
    . . imported "HSS"."ESS_FAILOVER_LEASE_OWNER" 0 KB 0 rows
    . . imported "HSS"."ESS_FAILOVER_RESOURCE" 0 KB 0 rows
    . . imported "HSS"."HDB_SCHEDULED_TASKS" 0 KB 0 rows
    . . imported "HSS"."HSS_COMPONENT_TIERS" 0 KB 0 rows
    . . imported "HSS"."LCM_MIGRATION" 0 KB 0 rows
    . . imported "HSS"."LCM_MIGRATION_TASK" 0 KB 0 rows
    . . imported "HSS"."LCM_MIGRATION_TASK_DETAILS" 0 KB 0 rows
    . . imported "HSS"."QRTZ_BLOB_TRIGGERS" 0 KB 0 rows
    . . imported "HSS"."QRTZ_CALENDARS" 0 KB 0 rows
    . . imported "HSS"."QRTZ_CRON_TRIGGERS" 0 KB 0 rows
    . . imported "HSS"."QRTZ_FIRED_TRIGGERS" 0 KB 0 rows
    . . imported "HSS"."QRTZ_JOB_DETAILS" 0 KB 0 rows
    . . imported "HSS"."QRTZ_JOB_LISTENERS" 0 KB 0 rows
    . . imported "HSS"."QRTZ_PAUSED_TRIGGER_GRPS" 0 KB 0 rows
    . . imported "HSS"."QRTZ_SCHEDULER_STATE" 0 KB 0 rows
    . . imported "HSS"."QRTZ_SIMPLE_TRIGGERS" 0 KB 0 rows
    . . imported "HSS"."QRTZ_TRIGGERS" 0 KB 0 rows
    . . imported "HSS"."QRTZ_TRIGGER_LISTENERS" 0 KB 0 rows
    . . imported "HSS"."SMA_APPLICATION_CONFIG_MAP" 0 KB 0 rows
    . . imported "HSS"."SMA_AUDIT_ATTRIBUTE_FACT" 0 KB 0 rows
    . . imported "HSS"."SMA_AUDIT_FACT" 0 KB 0 rows
    . . imported "HSS"."SMA_PROJECT_CONFIG_MAP" 0 KB 0 rows
    . . imported "HSS"."SMA_TEMP_LCM_IN" 0 KB 0 rows
    . . imported "HSS"."SMA_TEMP_USER_IN" 0 KB 0 rows
    . . imported "HSS"."WKS_GROUP" 0 KB 0 rows
    . . imported "HSS"."WKS_IDENTITY" 0 KB 0 rows
    . . imported "HSS"."WKS_IDENTITY_XREF" 0 KB 0 rows
    . . imported "HSS"."WKS_PROPERTY" 0 KB 0 rows
    . . imported "HSS"."WKS_ROLE" 0 KB 0 rows
    . . imported "HSS"."WKS_SUBJECT" 0 KB 0 rows
    . . imported "HSS"."WKS_USER" 0 KB 0 rows
    . . imported "HSS"."WKS_VERSION" 0 KB 0 rows
    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
    ORA-39083: Object type INDEX_STATISTICS failed to create with error:
    ORA-01403: no data found
    ORA-01403: no data found
    Failing sql is:
    DECLARE I_N VARCHAR2(60); I_O VARCHAR2(60); c DBMS_METADATA.T_VAR_COLL; df varchar2(21) := 'YYYY-MM-DD:HH24:MI:SS'
    ; BEGIN DELETE FROM "SYS"."IMPDP_STATS"; c(1) := 'TRIGGER_NAME'; c(2) := 'TRIGGER_GROUP'; DBMS_METADATA.GET_STAT_INDNAME('HSS','QRTZ_TRIGGERS',c,2,i_o,i_n); INSERT INTO "SYS"."IMPDP_STATS" (type,version,flags,c1,c2,c3,c5,n1,n2,n3,n4,n5,n6,n7,n8,n9,
    Processing object type SCHEMA_EXPORT/TABLE/COMMENT
    Processing object type SCHEMA_EXPORT/VIEW/VIEW
    ORA-31684: Object type VIEW:"HSS"."VW_APPLICATIONS" already exists
    ORA-31684: Object type VIEW:"HSS"."VW_APPLICATIONS_CLUSTER" already exists
    ORA-31684: Object type VIEW:"HSS"."ESS_FAILOVER_ACTIVE_NODE_VIEW" already exists
    Processing object type SCHEMA_EXPORT/VIEW/COMMENT
    ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
    ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
    ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
    ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
    ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
    ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
    ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
    ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
    ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
    ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
    ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
    ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
    ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
    ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
    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 "SYS1"."9" completed with 23 error(s) at 17:46:27
    Execution errors encountered.
    Job state: COMPLETED

  • Locking mechanism while import transports with table conversions

    Hi all,
    quite often, we have the request to import to our PROD FI SAP System a big list of transports which are performing also table conversions (addition of columns, removeal of columns etc).
    During the import of the transports we inform the people not to logon on the system and perform any kind of job.
    However not everyone is respecting the notification.
    Is there any mechanism to prevent all the users from logging onto the SAP system?
    Kind Regards,
    Loukas Rougkalas

    Hi Loukas,
    call SE16, table name = USR02, (get variant that listed only the users they are not in user groups SYSTEM, SUPER, BASIS Admin and so on), F8, Export the list of users to Excel, StrgShiftF7 - is only working in ALV Grid display (Settings - User Parameters - ALV Grid display)
    Then lock the users with transaction SU10 - Authorization data - mutiple selsction - copy the list of users from clipboard (excel Table "B") and paste it into "single value" (ShiftF12 -> F8 -> F8) - Select all (F5) - click to "Transfer" then you can lock the users with CtrlF5
    To unlock the Users repeat step 2 - instead of StrgF5 click StrgF4 for unlock
    Gerd
    Edited by: Gerd Schuster on Nov 17, 2009 2:12 PM

  • Getting error while importing schema with ORACLE TEXT

    IMP-00003: ORACLE error 20000 encountered
    ORA-20000: Oracle Text error:
    DRG-52204: error while registering index
    DRG-10507: duplicate index name: WORKORDER_Q, owner: SYS
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.DRIIMP", line 115
    ORA-06512: at line 2
    IMP-00088: Problem importing metadata for index WORKORDER_Q. Index creation will be skipped
    Database version - Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    Os version - Linux nlxs1012.slb.atosorigin-asp.com 2.6.18-308.el5 #1 SMP Fri Jan 27 17:17:51 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
    We have take export of schema from production db now importing data to qa environment..
    In import facing above error..

    I am importing objects from P20_MAXIMO to Q25_MAXIMO to another database..
    Below is import par file..
    USERID='/ as sysdba'
    FILE=exp_P20_MAXIMO_C2364781.dmp
    LOG=imp_P20_MAXIMO__Q25_MAXIMO_C2364781_1.log
    FROMUSER=P20_MAXIMO
    TOUSER=Q25_MAXIMO
    buffer=1000000
    feedback=100000
    Export parfile
    userid='/ as sysdba'
    owner=P20_MAXIMO
    FILE=exp_P20_MAXIMO_C2364781.dmp
    LOG=exp_P20_MAXIMO_C2364781.log
    buffer=10000000
    feedback=100000
    statistics=none

  • Data pump import error with nested tables

    So the problem is somewhat long :)
    Actually the problems are two - why and how oracle are treating OO concept and why data pump doesn't work?
    So scenario for the 1st one:
    1) there is object type h1 and table of h1
    2) there is unrelated object type row_text and table of row_text
    3) there is object type h2 under h1 with attribute as table of row_text
    4) there is table tab1 with column b with data type as table of h1. Of course column b is stored as nested table.
    So how do you think - how many nested tables Oracle will create? The correct answer is 2. One explicitly defined and one hidden with system
    generated name for the type h2 which is under type h1. So the question is WHY? Why if I create an instance of supertype Oracle tries to adapt
    it for the subtype as well? Even more if I create another subtype h3 under h1 another hidden nested table appears.
    This was the first part.
    The second part is - if I do schema export and try to import it in another schema I got error saying that oracle failed to create storage table for
    nested table column b. So the second question is - if Oracle has created such a mess with hidden nested tables how to import/export to another
    schema?
    Ok and here is test case to demonstrate problems above:
    -- creating type h1 and table of it
    SQL> create or replace type h1 as object (a number)
      2  not final;
      3  /
    Type created.
    SQL> create or replace type tbl_h1 as table of h1;
      2  /
    Type created.
    -- creating type row_text and table of it
    SQL> create or replace type row_text as object (
      2    txt varchar2(100))
      3  not final;
      4  /
    Type created.
    SQL> create or replace type tbl_row_text as table of row_text;
      2  /
    Type created.
    -- creating type h2 as subtype of h1
    SQL> create or replace type h2 under h1 (some_texts tbl_row_text);
      2  /
    Type created.
    SQL> create table tab1 (a number, b tbl_h1)
      2  nested table b
      3  store as tab1_nested;
    Table created.
    -- so we have 2 nested tables now
    SQL> select table_name, parent_table_name, parent_table_column
      2  from user_nested_tables;
    TABLE_NAME                     PARENT_TABLE_NAME
    PARENT_TABLE_COLUMN
    SYSNTfsl/+pzu3+jgQAB/AQB27g==  TAB1_NESTED
    TREAT(SYS_NC_ROWINFO$ AS "GINTS"."H2")."SOME_TEXTS"
    TAB1_NESTED                    TAB1
    B
    -- another subtype of t1
    SQL> create or replace type h3 under h1 (some_texts tbl_row_text);
      2  /
    Type created.
    -- plus another nested table
    SQL> select table_name, parent_table_name, parent_table_column
      2  from user_nested_tables;
    TABLE_NAME                     PARENT_TABLE_NAME
    PARENT_TABLE_COLUMN
    SYSNTfsl/+pzu3+jgQAB/AQB27g==  TAB1_NESTED
    TREAT(SYS_NC_ROWINFO$ AS "GINTS"."H2")."SOME_TEXTS"
    SYSNTfsl/+pz03+jgQAB/AQB27g==  TAB1_NESTED
    TREAT(SYS_NC_ROWINFO$ AS "GINTS"."H3")."SOME_TEXTS"
    TAB1_NESTED                    TAB1
    B
    SQL> desc "SYSNTfsl/+pzu3+jgQAB/AQB27g=="
    Name                                      Null?    Type
    TXT                                                VARCHAR2(100)OK let it be and now I'm trying to export and import in another schema:
    [oracle@xxx]$ expdp gints/xxx@xxx directory=xxx dumpfile=gints.dmp logfile=gints.log
    Export: Release 11.2.0.1.0 - Production on Thu Feb 4 22:32:48 2010
    <irrelevant rows skipped>
    Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
    . . exported "GINTS"."TAB1"                                  0 KB       0 rows
    . . exported "GINTS"."SYSNTfsl/+pz03+jgQAB/AQB27g=="         0 KB       0 rows
    . . exported "GINTS"."TAB1_NESTED"                           0 KB       0 rows
    . . exported "GINTS"."SYSNTfsl/+pzu3+jgQAB/AQB27g=="         0 KB       0 rows
    Master table "GINTS"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
    ******************************************************************************And now import. In order to create types transformation of OIDs is applied and also remap_schema
    Although it fails to create the table.
    [oracle@xxx]$ impdp gints1/xxx@xxx directory=xxx dumpfile=gints.dmp logfile=gints_imp.log remap_schema=gints:gints1 transform=OID:n
    Import: Release 11.2.0.1.0 - Production on Thu Feb 4 22:41:48 2010
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    Connected to: Oracle Database 11g Release 11.2.0.1.0 - Production
    Master table "GINTS1"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "GINTS1"."SYS_IMPORT_FULL_01":  gints1/********@xxx directory=xxx dumpfile=gints.dmp logfile=gints_imp.log remap_schema=gints:gints1 transform=OID:n
    Processing object type SCHEMA_EXPORT/USER
    ORA-31684: Object type USER:"GINTS1" already exists
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    Processing object type SCHEMA_EXPORT/ROLE_GRANT
    Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
    Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    Processing object type SCHEMA_EXPORT/TYPE/TYPE_SPEC
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    ORA-39083: Object type TABLE:"GINTS1"."TAB1" failed to create with error:
    ORA-02320: failure in creating storage table for nested table column B
    ORA-00904: : invalid identifier
    Failing sql is:
    CREATE TABLE "GINTS1"."TAB1" ("A" NUMBER, "B" "GINTS1"."TBL_H1" ) SEGMENT CREATION IMMEDIATE PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    ORA-39083: Object type INDEX_STATISTICS failed to create with error:
    ORA-01403: no data found
    ORA-01403: no data found
    Failing sql is:
    DECLARE I_N VARCHAR2(60);   I_O VARCHAR2(60);   c DBMS_METADATA.T_VAR_COLL;   df varchar2(21) := 'YYYY-MM-DD:HH24:MI:SS'; BEGIN  DELETE FROM "SYS"."IMPDP_STATS";   c(1) :=   DBMS_METADATA.GET_STAT_COLNAME('GINTS1','TAB1_NESTED',NULL,'TREAT(SYS_NC_ROWINFO$ AS "GINTS"."H2")."SOME_TEXTS"',1);  DBMS_METADATA.GET_STAT_INDNAME('GINTS1','TAB1_NESTED',c,1,i_o,i_n);   INSERT INTO "
    ORA-39083: Object type INDEX_STATISTICS failed to create with error:
    ORA-01403: no data found
    ORA-01403: no data found
    Failing sql is:
    DECLARE I_N VARCHAR2(60);   I_O VARCHAR2(60);   c DBMS_METADATA.T_VAR_COLL;   df varchar2(21) := 'YYYY-MM-DD:HH24:MI:SS'; BEGIN  DELETE FROM "SYS"."IMPDP_STATS";   c(1) :=   DBMS_METADATA.GET_STAT_COLNAME('GINTS1','TAB1_NESTED',NULL,'TREAT(SYS_NC_ROWINFO$ AS "GINTS"."H3")."SOME_TEXTS"',1);  DBMS_METADATA.GET_STAT_INDNAME('GINTS1','TAB1_NESTED',c,1,i_o,i_n);   INSERT INTO "
    Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
    Job "GINTS1"."SYS_IMPORT_FULL_01" completed with 4 error(s) at 22:41:52So any idea how to make export/import of such tables?
    TIA
    Gints

    Tom Kyte has said it repeatedly ... I will repeat it here for you.
    The fact that Oracle allows you to build object tables is not an indication that you should.
    Store your data relationally and build object_views on top of them.
    http://www.morganslibrary.org/reference/object_views.html
    If you model properly, and store properly, you don' have any issues.

  • How to work with tables located into another schema ?

    Hi
    I have created an application named OBSERVATOIRE and a schema named "OBSERVATOIRE" for it into my db. I created into this schema a few tables like "AGENT" for example.
    Now I am designing another application named TELEGESTION located in another schema named "SIVOA" and I need to display and to use tables located into the schema OBSERVATOIRE.
    I added the schema OBSERVATOIRE into my application TELEGESTION.
    In my new application TELEGESTION, when I try to create a report with a simple request like this
    select * from observatoire.agents
    I get this error :
    Query cannot be parsed, please check the syntax of your query. (ORA-00942: Table ou vue inexistante)
    What should I do in order to work with tables in another schema ?
    Thank you very much
    Christian

    Vajrad and Dan,
    Thank you very much for your suggestions.
    At this point I am wondering if It would be better for me to change the way I began work.
    These two applications will be used by the same users into an intranet (a private network of our company). I wonder if the better would be to import the tables and my application OBSERVATOIRE into the schema SIVOA and get rid of these problems of access.
    Historically, the schema SIVOA contains a lot of tables already used by a previous network.As i was beginner with APEX I created a schema "OBSERVATOIRE" to be "safe". But this schema contains a small amounbt of tables, i can easily tranfers them into the schema "SIVOA"
    But now as I see that that having two schemas is complexifying the developpement and also I am thinking to the login page, I do'nt want to force the user to login each times a switch from one application to the other, etc... I want some kind of "single sign on".
    Whad would be you advise ?
    Thank you for your time.
    Christian

  • Import fails with unable to extend table CUSTOM.CASA_TRAN_HIST_UPLD by 6999

    Hi,
    I have taken export backup of table from 9.2.0.4 on AIX & trying to import in 11.1.0.7.0 on AIX
    while importing im getting the following error.
    ORA-01653: unable to extend table CUSTOM.CASA_TRAN_HIST_UPLD by 699912 in tablespace CUSTOM
    As the table size is 37G , total free space in tablespace is 40G,
    & no index on the table.
    following are sum lines from import file
    Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Export file created by EXPORT:V09.02.00 via direct path
    import done in US7ASCII character set and UTF8 NCHAR character set
    import server uses AL32UTF8 character set (possible charset conversion)
    export server uses AL16UTF16 NCHAR character set (possible ncharset conversion)
    . importing DATAMIG's objects into CUSTOM
    . . importing table "CASA_TRAN_HIST_UPLD"
    IMP-00058: ORACLE error 1653 encountered
    ORA-01653: unable to extend table CUSTOM.CASA_TRAN_HIST_UPLD by 699912 in tablespace CUSTOM
    IMP-00028: partial import of previous table rolled back: 62844421 rows rolled back
    IMP-00017: following statement failed with ORACLE error 1917:
    "GRANT SELECT ON "CASA_TRAN_HIST_UPLD" TO "BSGUSER""
    IMP-00003: ORACLE error 1917 encountered
    ORA-01917: user or role 'BSGUSER' does not exist
    Import terminated successfully with warnings.
    is there any to resolve the issue.
    how to change NCHAR set for import.
    Thanks

    Hello,
    which & how i can set character set for import.About the Character Set, it's a setting at the Database creation. You may check it by using the following query on the Source and Target Databases:
    select * from v$nls_parameters; The NLS_CHARACTERSET will give you the Character set of the Database.
    It cannot be changed easily. It may imply a Database creation and export/import of data ( see Note *225912.1* ).
    Else, when you export (with the Original Export/Import utility) it's recommended to set the NLS_LANG parameter.
    The NLS_LANG parameter has 3 components:
    - Language
    - Territory
    - Client Character Set
    A wrong setting of the NLS_LANG may lead to conversion. However starting with *9i* most data is exported with the Character Set of the Database regardless the NLS_LANG setting. The following note may give you some details about it:
    Export/Import and NLS Considerations [ID 15095.1]Hope this help.
    Best regards,
    Jean-Valentin

  • New to Oracle, Need to connect forms 9i with oraclient 10g schemas n tables

    Hi,
    I am very new to oracle applications and i am not even sure if the terminology i am using is right. I have trained on Oracle SQL/PL and Forms 9i recently and i am trying to create an oracle environment where i can practice.
    I have downloaded the Oraclient 10g and 9i Developer suite. I want to use the forms applications and even do coding for SQL/PL from the forms sql/pl editor.
    I am not able to connect the forms application to the database as it is asking for a username, pswd and a host string. During installation i have not given any id's or passwords.
    can someone help me on how i can start using the existing tables from the oraclient and build forms.
    thanks in advance for the help.

    thanks. i don't know what to read as the course i did was totally on a developer track, i have knowledge of DB only through PL/SQL and i have forms 9i. I understand that one needs to link up the forms to some sort of a database schemas n tables to be able to start working with it's pl/sql editor. and i know i have the database with the oraclient 10g. all i need to know now is how to connect this database to the forms client. cuz everytime i go into the pl/sql editor it is asking of me to provide a user name, password and a host string which i don't know where to get from. please guide

  • How can I export schema with all objects and few tables without data

    Hi all
    Verion 10g EE.
    I have to export schema with all objects but i need to ingnore some of the table data.
    There are 4 table those have huge data, we need not to export those tables data but structure should export.
    Thanks,
    Nr

    You can do this with a single command.  Run your export as normal and add query parameters for the 4 tables that you don't want any rows:
    expdp ...  query=schema1.table1:"where rownum = 0" query=schema2.table2:"where rownum = 0" ...
    It is best to put the query parameters in a parameter file so you don't have to worry about escaping any OS special characters.
    Dean

  • How to export and import from AIX to solaris a whole schema with different

    how to export and import from AIX to solaris a whole schema with different character set
    import done in US7ASCII character set and AL16UTF16 NCHAR character set
    import server uses WE8ISO8859P1 character set (possible charset conversion)
    Import terminated successfully with warnings.

    The conversion between the character sets on the two servers are handled automatically. Export from one server will export the data given the character set defined on that server. Import into another server will import the data given the character set defined on that server, performing a conversion if necessary. This can be a problem when going from single-byte to a multi-byte character set. In your case, the warning is simply for your information, shoule be no real problem given the character sets you're using.
    For more info...check out (pertains to 9i):
    Export
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96652/ch01.htm#1006791
    Character Ste Migration
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96529/ch10.htm#1656
    HTH

  • Finding column,table names in a schema with search data

    Hi All,
    I want to list all the columns,tables in a schema with any search value.
    Ex: Take an example of EMP table, if I search with 'MARTIN', result should be ename (column name) , emp(table name).
    Can you please help me on this regard to write a query.
    Regards,
    Rajasekhar

    SQL> set line 1000
    SQL> VAR val VARCHAR2(30)
    SQL> execute :val:='SMITH';
    PL/SQL procedure successfully completed.
    SQL> SELECT   DISTINCT
      2               SUBSTR(:val, 1, 11) "Searchword",
      3               SUBSTR(table_name, 1, 14) "Table",
      4               SUBSTR(t.COLUMN_VALUE.getstringval(), 1, 50) "Column/Value"
      5  FROM     cols,
      6               table(XMLSEQUENCE(DBMS_XMLGEN.getxmltype(   'select '
      7                                                        || column_name
      8                                                        || ' from '
      9                                                        || table_name
    10                                                       || ' where (UPPER('''
    11                                                       || :val
    12                                                       || ''')=UPPER('
    13                                                       || column_name
    14                                                       || '))').EXTRACT('ROWSET/ROW/*'))) t
    15  WHERE    table_name IN ('EMP', 'DEPT','EMPLOYEES') --limiting the table names, you can omit this.
    16  ORDER BY "Table";
    Searchword                                   Table                                                    Column/Value
    SMITH                                        EMP                                                      <ENAME>SMITH</ENAME>
    SMITH                                        EMPLOYEES                                                <LAST_NAME>Smith</LAST_NAME>

  • Wsimport with imported schemas

    Hi,
    I am using a WSDL which imports some external schemas
    however, when I run the wsimport tool I got this error
    error: undefined simple or complex type 'ebi:Service'
    line 0 of file:/D:/PROJECTS/webservices/servers/WSEBI/src/main/webapp/WSEBI.ws
    dl#types?schema1
    error: Element "{http://www.ebi.ac.uk/ws/WSEBI}getServices" not found.
    this is the type declaration in the WSDL
    <wsdl:types>
            <xsd:schema
                targetNamespace="http://www.ebi.ac.uk/ws/WSEBI"
                xmlns="http://www.w3.org/2001/XMLSchema"
                xmlns:tns="http://www.ebi.ac.uk/ws/WSEBI"
                xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
                xmlns:ebi="http://www.ebi.ac.uk/ws">
                <xsd:import
                namespace="http://www.ebi.ac.uk/ws"
                location="WSEBITypes.xsd"/>
                <xsd:element
                            name="getWSDL"
                            type="xsd:string"/>
                <xsd:element
                            name="getWSDLResponse"
                            type="xsd:string"/>
                <xsd:element
                            name="getServices"
                            type="tns:Void"/>
                <xsd:element
                            name="getServicesResponse"
                            type="tns:ServiceList"/>
                <xsd:complexType name="Service">
                    <xsd:sequence>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="name"
                            type="xsd:string"/>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="description"
                            type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Name of the implementation of the server
                                </xsd:documentation>
                            </xsd:annotation>
                            </xsd:element>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="wsdl"
                            type="xsd:string"/>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="ServiceList">
                  <xsd:sequence>
                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="ListElement" type="ebi:PollRequest"/>
                 </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="Void">
                    <xsd:sequence/>
                </xsd:complexType>
            </xsd:schema>
        </wsdl:types>the imported schema looks like this
    <xsd:schema
                targetNamespace="http://www.ebi.ac.uk/ws"
                xmlns:ebi="http://www.ebi.ac.uk/ws"
                xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:complexType name="Service">
                    <xsd:sequence>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="name"
                            type="xsd:string"/>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="description"
                            type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Name of the implementation of the server
                                </xsd:documentation>
                            </xsd:annotation>
                            </xsd:element>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="wsdl"
                            type="xsd:string"/>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="Data">
                    <xsd:sequence>
                        <xsd:element maxOccurs="1" minOccurs="1" name="type" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Database for the search
                                </xsd:documentation>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element maxOccurs="1" minOccurs="1" name="content" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Database for the search
                                </xsd:documentation>
                            </xsd:annotation>
                        </xsd:element>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="Result">
                    <xsd:sequence>
                        <xsd:element maxOccurs="1" minOccurs="1" name="type" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Database for the search
                                </xsd:documentation>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element maxOccurs="1" minOccurs="1" name="content" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Database for the search
                                </xsd:documentation>
                            </xsd:annotation>
                        </xsd:element>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="PollRequest">
                    <xsd:sequence>
                        <xsd:element maxOccurs="1" minOccurs="1" name="type" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Database for the search
                                </xsd:documentation>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element maxOccurs="1" minOccurs="1" name="content" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Database for the search
                                </xsd:documentation>
                            </xsd:annotation>
                        </xsd:element>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="DataInputs">
                  <xsd:sequence>
                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="ListElement" type="ebi:Data"/>
                 </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="Results">
                  <xsd:sequence>
                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="ListElement" type="ebi:Result"/>
                 </xsd:sequence>
                </xsd:complexType>
    </xsd:schema> however, when I run the wsimport tool I got this error
    error: undefined simple or complex type 'ebi:Service' 
    line 0 of file:/D:/PROJECTS/webservices/servers/WSEBI/src/main/webapp/WSEBI.ws
    dl#types?schema1
    error: Element "{http://www.ebi.ac.uk/ws/WSEBI}getServices" not found.if instead of
      <xsd:complexType name="ServiceList">
                  <xsd:sequence>
                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="ListElement" type="ebi:Service"/>
                 </xsd:sequence>
                </xsd:complexType>I use the local type
      <xsd:complexType name="ServiceList">
                  <xsd:sequence>
                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="ListElement" type="tns:Service"/>
                 </xsd:sequence>
                </xsd:complexType>it works
    so it is not finding the reference to the type in the imported schema,
    can anybody help with this?
    thanks a lot
    PD. the whole WSDL is this
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions
        name="WSEBI"
        targetNamespace="http://www.ebi.ac.uk/ws/WSEBI"
        xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
        xmlns:tns="http://www.ebi.ac.uk/ws/WSEBI"
        xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        xmlns:ebi="http://www.ebi.ac.uk/ws">
        <wsdl:types>
            <xsd:schema
                targetNamespace="http://www.ebi.ac.uk/ws/WSEBI"
                xmlns="http://www.w3.org/2001/XMLSchema"
                xmlns:tns="http://www.ebi.ac.uk/ws/WSEBI"
                xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
                xmlns:ebi="http://www.ebi.ac.uk/ws">
                <xsd:import
                namespace="http://www.ebi.ac.uk/ws"
                location="WSEBITypes.xsd"/>
                <xsd:element
                            name="getWSDL"
                            type="xsd:string"/>
                <xsd:element
                            name="getWSDLResponse"
                            type="xsd:string"/>
                <xsd:element
                            name="getServices"
                            type="tns:Void"/>
                <xsd:element
                            name="getServicesResponse"
                            type="tns:ServiceList"/>
                <xsd:complexType name="Service">
                    <xsd:sequence>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="name"
                            type="xsd:string"/>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="description"
                            type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Name of the implementation of the server
                                </xsd:documentation>
                            </xsd:annotation>
                            </xsd:element>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="wsdl"
                            type="xsd:string"/>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="ServiceList">
                  <xsd:sequence>
                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="ListElement" type="ebi:PollRequest"/>
                 </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="Void">
                    <xsd:sequence/>
                </xsd:complexType>
            </xsd:schema>
        </wsdl:types>
        <wsdl:message name="getServicesRequest">
            <wsdl:part element="tns:getServices" name="parameters"/>
        </wsdl:message>
        <wsdl:message name="getServicesResponse">
            <wsdl:part element="tns:getServicesResponse" name="parameters"/>
        </wsdl:message>
        <wsdl:message name="getWSDLRequest">
            <wsdl:part element="tns:getWSDL" name="parameters"/>
        </wsdl:message>
        <wsdl:message name="getWSDLResponse">
            <wsdl:part element="tns:getWSDLResponse" name="parameters"/>
        </wsdl:message>
        <wsdl:portType name="WSEBI">
            <wsdl:operation name="getWSDL">
                <wsdl:input message="tns:getWSDLRequest"/>
                <wsdl:output message="tns:getWSDLResponse"/>
            </wsdl:operation>
            <wsdl:operation name="getServices">
                <wsdl:input message="tns:getServicesRequest"/>
                <wsdl:output message="tns:getServicesResponse"/>
            </wsdl:operation>
        </wsdl:portType>
        <wsdl:binding name="WSEBIBinding" type="tns:WSEBI">
            <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
            <wsdl:operation name="getServices">
                <soap:operation soapAction=""/>
                <wsdl:input>
                    <soap:body use="literal"/>
                </wsdl:input>
                <wsdl:output>
                    <soap:body use="literal"/>
                </wsdl:output>
            </wsdl:operation>
            <wsdl:operation name="getWSDL">
                <soap:operation soapAction=""/>
                <wsdl:input>
                    <soap:body use="literal"/>
                </wsdl:input>
                <wsdl:output>
                    <soap:body use="literal"/>
                </wsdl:output>
            </wsdl:operation>
        </wsdl:binding>
        <wsdl:service name="WSEBIService">
            <wsdl:port binding="tns:WSEBIBinding" name="WSEBIPort">
                <soap:address location="http://localhost:8080/ws/WSEBI"/>
            </wsdl:port>
        </wsdl:service>
        <wsdl:documentation> Documentation for this service can be found at       http://www.ebi.ac.uk/Tools/webservices/WSEBI  </wsdl:documentation>
    </wsdl:definitions>

    Hi,
    I am using a WSDL which imports some external schemas
    however, when I run the wsimport tool I got this error
    error: undefined simple or complex type 'ebi:Service'
    line 0 of file:/D:/PROJECTS/webservices/servers/WSEBI/src/main/webapp/WSEBI.ws
    dl#types?schema1
    error: Element "{http://www.ebi.ac.uk/ws/WSEBI}getServices" not found.
    this is the type declaration in the WSDL
    <wsdl:types>
            <xsd:schema
                targetNamespace="http://www.ebi.ac.uk/ws/WSEBI"
                xmlns="http://www.w3.org/2001/XMLSchema"
                xmlns:tns="http://www.ebi.ac.uk/ws/WSEBI"
                xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
                xmlns:ebi="http://www.ebi.ac.uk/ws">
                <xsd:import
                namespace="http://www.ebi.ac.uk/ws"
                location="WSEBITypes.xsd"/>
                <xsd:element
                            name="getWSDL"
                            type="xsd:string"/>
                <xsd:element
                            name="getWSDLResponse"
                            type="xsd:string"/>
                <xsd:element
                            name="getServices"
                            type="tns:Void"/>
                <xsd:element
                            name="getServicesResponse"
                            type="tns:ServiceList"/>
                <xsd:complexType name="Service">
                    <xsd:sequence>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="name"
                            type="xsd:string"/>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="description"
                            type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Name of the implementation of the server
                                </xsd:documentation>
                            </xsd:annotation>
                            </xsd:element>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="wsdl"
                            type="xsd:string"/>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="ServiceList">
                  <xsd:sequence>
                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="ListElement" type="ebi:PollRequest"/>
                 </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="Void">
                    <xsd:sequence/>
                </xsd:complexType>
            </xsd:schema>
        </wsdl:types>the imported schema looks like this
    <xsd:schema
                targetNamespace="http://www.ebi.ac.uk/ws"
                xmlns:ebi="http://www.ebi.ac.uk/ws"
                xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:complexType name="Service">
                    <xsd:sequence>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="name"
                            type="xsd:string"/>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="description"
                            type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Name of the implementation of the server
                                </xsd:documentation>
                            </xsd:annotation>
                            </xsd:element>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="wsdl"
                            type="xsd:string"/>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="Data">
                    <xsd:sequence>
                        <xsd:element maxOccurs="1" minOccurs="1" name="type" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Database for the search
                                </xsd:documentation>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element maxOccurs="1" minOccurs="1" name="content" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Database for the search
                                </xsd:documentation>
                            </xsd:annotation>
                        </xsd:element>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="Result">
                    <xsd:sequence>
                        <xsd:element maxOccurs="1" minOccurs="1" name="type" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Database for the search
                                </xsd:documentation>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element maxOccurs="1" minOccurs="1" name="content" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Database for the search
                                </xsd:documentation>
                            </xsd:annotation>
                        </xsd:element>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="PollRequest">
                    <xsd:sequence>
                        <xsd:element maxOccurs="1" minOccurs="1" name="type" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Database for the search
                                </xsd:documentation>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element maxOccurs="1" minOccurs="1" name="content" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Database for the search
                                </xsd:documentation>
                            </xsd:annotation>
                        </xsd:element>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="DataInputs">
                  <xsd:sequence>
                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="ListElement" type="ebi:Data"/>
                 </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="Results">
                  <xsd:sequence>
                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="ListElement" type="ebi:Result"/>
                 </xsd:sequence>
                </xsd:complexType>
    </xsd:schema> however, when I run the wsimport tool I got this error
    error: undefined simple or complex type 'ebi:Service' 
    line 0 of file:/D:/PROJECTS/webservices/servers/WSEBI/src/main/webapp/WSEBI.ws
    dl#types?schema1
    error: Element "{http://www.ebi.ac.uk/ws/WSEBI}getServices" not found.if instead of
      <xsd:complexType name="ServiceList">
                  <xsd:sequence>
                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="ListElement" type="ebi:Service"/>
                 </xsd:sequence>
                </xsd:complexType>I use the local type
      <xsd:complexType name="ServiceList">
                  <xsd:sequence>
                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="ListElement" type="tns:Service"/>
                 </xsd:sequence>
                </xsd:complexType>it works
    so it is not finding the reference to the type in the imported schema,
    can anybody help with this?
    thanks a lot
    PD. the whole WSDL is this
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions
        name="WSEBI"
        targetNamespace="http://www.ebi.ac.uk/ws/WSEBI"
        xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
        xmlns:tns="http://www.ebi.ac.uk/ws/WSEBI"
        xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        xmlns:ebi="http://www.ebi.ac.uk/ws">
        <wsdl:types>
            <xsd:schema
                targetNamespace="http://www.ebi.ac.uk/ws/WSEBI"
                xmlns="http://www.w3.org/2001/XMLSchema"
                xmlns:tns="http://www.ebi.ac.uk/ws/WSEBI"
                xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
                xmlns:ebi="http://www.ebi.ac.uk/ws">
                <xsd:import
                namespace="http://www.ebi.ac.uk/ws"
                location="WSEBITypes.xsd"/>
                <xsd:element
                            name="getWSDL"
                            type="xsd:string"/>
                <xsd:element
                            name="getWSDLResponse"
                            type="xsd:string"/>
                <xsd:element
                            name="getServices"
                            type="tns:Void"/>
                <xsd:element
                            name="getServicesResponse"
                            type="tns:ServiceList"/>
                <xsd:complexType name="Service">
                    <xsd:sequence>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="name"
                            type="xsd:string"/>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="description"
                            type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Name of the implementation of the server
                                </xsd:documentation>
                            </xsd:annotation>
                            </xsd:element>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="wsdl"
                            type="xsd:string"/>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="ServiceList">
                  <xsd:sequence>
                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="ListElement" type="ebi:PollRequest"/>
                 </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="Void">
                    <xsd:sequence/>
                </xsd:complexType>
            </xsd:schema>
        </wsdl:types>
        <wsdl:message name="getServicesRequest">
            <wsdl:part element="tns:getServices" name="parameters"/>
        </wsdl:message>
        <wsdl:message name="getServicesResponse">
            <wsdl:part element="tns:getServicesResponse" name="parameters"/>
        </wsdl:message>
        <wsdl:message name="getWSDLRequest">
            <wsdl:part element="tns:getWSDL" name="parameters"/>
        </wsdl:message>
        <wsdl:message name="getWSDLResponse">
            <wsdl:part element="tns:getWSDLResponse" name="parameters"/>
        </wsdl:message>
        <wsdl:portType name="WSEBI">
            <wsdl:operation name="getWSDL">
                <wsdl:input message="tns:getWSDLRequest"/>
                <wsdl:output message="tns:getWSDLResponse"/>
            </wsdl:operation>
            <wsdl:operation name="getServices">
                <wsdl:input message="tns:getServicesRequest"/>
                <wsdl:output message="tns:getServicesResponse"/>
            </wsdl:operation>
        </wsdl:portType>
        <wsdl:binding name="WSEBIBinding" type="tns:WSEBI">
            <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
            <wsdl:operation name="getServices">
                <soap:operation soapAction=""/>
                <wsdl:input>
                    <soap:body use="literal"/>
                </wsdl:input>
                <wsdl:output>
                    <soap:body use="literal"/>
                </wsdl:output>
            </wsdl:operation>
            <wsdl:operation name="getWSDL">
                <soap:operation soapAction=""/>
                <wsdl:input>
                    <soap:body use="literal"/>
                </wsdl:input>
                <wsdl:output>
                    <soap:body use="literal"/>
                </wsdl:output>
            </wsdl:operation>
        </wsdl:binding>
        <wsdl:service name="WSEBIService">
            <wsdl:port binding="tns:WSEBIBinding" name="WSEBIPort">
                <soap:address location="http://localhost:8080/ws/WSEBI"/>
            </wsdl:port>
        </wsdl:service>
        <wsdl:documentation> Documentation for this service can be found at       http://www.ebi.ac.uk/Tools/webservices/WSEBI  </wsdl:documentation>
    </wsdl:definitions>

  • Importing word 2004 docs with tables into Pages

    I work in video production, and my clients send me shooting scrips as word documents formatted with tables. Needless to say, I was quick to discover that Pages doesn't really 'like' these documents. I can't keep asking my clients to reformat their docs as txt files for me - it's very unprofessional.
    What I've found is that all the text is there, but the tables don't 'translate' (one cell tries to fit on a whole page and the text gets 'lost' at the bottom). Is there a quick and easy way to remove the tables in Pages but keep the text?
    In Word, it's Alt+A, V, B, 0 (I've been formatting and reformatting scripts for 8 years!).
    Thanks for your help. I REALLY don't want to have to get Office - I've read so many horror stories about 2008 (especially the excel part).

    sknygrydg07 wrote:
    Is there a quick and easy way to remove the tables in Pages but keep the text?
    In Word, it's Alt+A, V, B, 0 (I've been formatting and reformatting scripts for 8 years!).
    Hello,
    Have you tried: Select table, then from the Pages Menu; Format > Table > Convert Table to Text?
    It might be of some value in this situation.
    Jerry

  • HL7 schema modification error with imported schema namespace

    I have created a variant of one of the out of the box HL7 schemas.  The changes were made to the related Segments schema.  I have a custom namespace identified on both the "master" schema and one on the modified schema which is being
    imported into the "master".  I have verified that the namespace of the imported schema matches the namespace identified in the import statement of the master schema.  However, I am getting the following error and I'm not sure how to proceed.
    There was a failure executing the receive pipeline: "MyProject, MyProject.Pipelines, Version=1.0.0.0, Culture=neutral, PublicKeyToken=318a75bd6cda7207" Source: "BTAHL7 2.X Disassembler" Receive Port: "rp_ReceiveHL7" URI: "10.26.146.39:11001"
    Reason: The namespace attribute 'http://MyProject/2XHL7/MDM/Segments_23' of an import should be the same value as the targetNamespace 'http://microsoft.com/HealthCare/HL7/2X/2.3/Segments' of the imported schema. 

    Indeed, however, the namespace of the import is same as the value of the imported schema, but the namespace of neither schema is http://microsoft.com/HealthCare/HL7/2X/2.3/Segments,
    since I changed it when I made the modification.  That namespace does not exist in my project, nor does it exist locally, so i'm not sure where this error message is trying to lead me.

  • How to do import of only table data without procedures and synonyms

    Hello All,
    I want to import only the tables of one database to a new database. I did a table level export of one schema. But along with it the stored procedures,synonyms, views etc are exported. Is there any way to stop them. Or is it possible to import only the tables from the dump created?
    Regards
    Satish

    Hi Maran,
    Thanks for the feedback. I think I didnot specify the parafile with the table list while exporting. I am redoing it now. I shall update this post within 20 minutes.
    Regards
    Satish

Maybe you are looking for

  • How do I get rid of the MP3tube menu bar/program that has shown up on my computer ?

    Every time I open Firefox the menu bar for MP3TUBE comes up at the bottom menu bar. it opens the program, not AOL, the program that I want. In the search box of MP3TUBE, it has "powered by yahoo".

  • Command Right/Left stopped working

    Don't know why or how, but the shortcuts command-right and command-left are not working any more. and when I go to the keyboard viewer, and press on of those, the arrows key don't get highlighted. (without command pressed they do). Any ideas?

  • I cannot open mailto links in external websites.

    when I click on an email link in some websites, it says there is no application to open the mailto link. I went through the help menus, where I am asked to find the mailto feature and add an application. There is no mailto feature listed, so I can't

  • Scanner Resolution Settings??

    I have about 850 35mm slides that I want to make into dvds slideshows. The dvds will be shown on family members' pcs, standard tvs, and HDTVs. I'd appreciate a recommendation on what resolution I should scan the slides for best overall use for the va

  • My folders are messed up

    When browsing through Finder I noticed that the jpeg/photos seemed to be scattered in folders that didn't make sense. In an attempt to tidy relevant photos to relevant folders (unaware of the dating system and this "Don't tamper with files in the iPh