Mulitple invoking of import for a schema by mistake

I had a doubt with the behaviour of the database if the import utility is invoked more than once by mistake. The import syntax I gave had the syntax like:-
imp CRESTELERP/CRESTELERP fromuser=CRESTELERP touser=CRESTELERP file=CRESTELERP.dmp log=CRESTELERP.log commit=y feedback=10000 ignore=Y
If, the import utility is invoked by mistake more than once, then the objects will also get imported multiple times. Fortunately, my schema did not have any tables but objects like views, schemas etc with the 'create or replace' syntax. If the schema has tables, then the tables will get populated more than once but I guess, there would not be any problem if there are objects with the 'create or replace' syntax, is my observation right?
I hope, my question is clear.
Please, help in solving the doubt.
regards

Hi...
If your schema has tables with n rows then as Sybrand has already said that it will get duplicated if there is no primary key as IGNORE=Y is used and if constraints are there toy will get the error which you can check the import logfile.As you said your schema didn't have any tables so no issues.The views,packages, and procedure,fumctions,packages will be created/replaced again without any error.
Anand

Similar Messages

  • Can I invoke "Organize Imports" for whole project?

    On the features page on labs.adobe.com there is a mention that Organize Imports should work for "projects". Does this mean that I can invoke this function for a whole project or do I need to do it file by file? If it should work for a whole project, how to invoke it?
    Thanks,
    Borek

    "Organize Imports" isn't available at project level.
    It has to be invoked file by file, as it not just removes unused imports but adds any missing ones, resolves ambiguous references and consolidates the import statements
    Thanks,
    Guriya

  • Schema Group for Local & Import for RFQ, Contract, PO

    Hi,
    I would like to create two schema for Local & Import for RFQ, Contact and PO.
    I have customized the schema as per my own requirement, it is working fine in PO RFQ but in Contract the same Schema is not appearing when i am trying to maintained header condition.
    In short i would like to have my own schema for Import & Local same for RFQ, Contract & PO.
    Regards

    Check this link:
    Assigning Calculation Schema to Contract
    servicing calculation schema and populating them while creating contract
    Check this answer:
    Go to M/06 and here in the Base Price Condition Type (for e.g. PB00) assign the Z - Pricing Procedure under "Master Data" Subscreen which you want to use. And then try to create a new Contract or change the old contract.
    Edited by: Afshad Irani on Jul 30, 2010 5:29 PM
    Edited by: Afshad Irani on Jul 30, 2010 5:30 PM

  • HANA STUDIO SPS06: IMPORT ERROR FOR A SCHEMA

    Hi HANA Experts,
    I have a problem for exporting and importing data  for a schema.
    For exporting I used interface of HANA Studio SPS06 , while importing I used command
    IMPORT "SFLIGHT" ."*" AS BINARY from "/tmp/SFLIGHT" WITH RENAME SCHEMA "SFLIGHT" TO "SHANA"
    I am getting the error as
    SAP DBTech JDBC:[2048]:column store error: table import failed: [30134] out of memory
    Kindly suggest. Thank you
    Regards

    PrPro will come to you. It has fewer "automations," and "big-button" solutions, than PowerDirector (and Magix and PrE), but with that comes power!
    It is the same with Encore vs the limited authoring capabilities of PowerDirector, Magix, Roxio and PrE. Again, more hand-work, but oh, so much more power!
    Can you tell that I am a control freak, and do not mind getting my hands dirty to access the power?
    There are a few things that Encore cannot do, that programs like Sonic Scenarist can do, but there are usually workarounds, either in the design, or in the implementation, that will get you "there," or close.
    I strongly recommend that any new user to Encore purchase and read Jeff Bellune's excellent book, The Focal Easy Guide to Adobe EncoreDVD 2.0, Focal Press. That book covers everything that Encore can do, with two current exceptions - Adobe Dynamic Link (CS4 version) and BD authoring. Both of those were added after the book and EncoreDVD 2.0, were released. However, the Help files cover both of those newer additions well.
    Along with the fundamentals of Encore, Jeff covers all sorts of tricks and tips for getting more out of Encore, than the DVD-specs. actually allow. Obviously, he cannot break those rules, though he CAN help you create the illusion that the rules HAVE been broken. The user will swear that they just saw things, that are impossible, based on the DVD-specs., which are very limiting. Hey, it IS "smoke and mirrors," but if the user is fooled, you have succeeded, right?
    Good luck, and when you get around to adding some "tricks" to your DVD-Videos, post back. I'd suggest a new thread, so that other users can benefit from the new title, and so that users know that this is a new question. You will find that there is not too much, that someone here has not done, one way, or another. Oh, there ARE some limitations, where there is no good way to "bend" those DVD-specs., but you'll be surprised at what one can "bend."
    Happy authoring,
    Hunt

  • Unable to locate Spring NamespaceHandler for XML schema namespace

    I am not sure if this is the best practice approach but this is the problem I am ruining into. Below, I explain what I am doing:
    1) What I am doing:
    =============
    Based on the oracle incubator example (http://coherence.oracle.com/display/INCUBATOR/Processing+Pattern+Examples); I am running a server and submitting tasks through a proxy application that submits them to ProcessingPatternConfigurator; let's call my task processReport.
    a) my processReport is using spring and ibatis together, I created a utility static class to obtain a spring context and retrieves beans using the following lines ( see exhibit "A1 and A2" below).
    b) when my task calls the context and that spring loads, it is failing with the error show in exhibit "B".
    I suspect I am missing a lib? I googled the error and searched you site but could find a meaningful discussion on it. I guess my question is if this is not the best approach, how do I integrated with spring initializing beans and setting up ibatis framwork, providing beans and database access through Ibatis for each task ruining on the grid (processReport).
    thanks
    A1) processReport (submitted in the grid) uses this line
    AbstractXmlApplicationContext ctx = (AbstractXmlApplicationContext) AmrContextUtil.getInstance();
              System.out.println("Classpath loaded. Executing Report...");
              ReportProcessor repProcessor = (ReportProcessor) ctx.getBean("reportProcessor");
    A2) Here is the AmrContextUtil:
    import org.springframework.context.support.AbstractApplicationContext;
    import org.springframework.context.support.ClassPathXmlApplicationContext;
    public final class AmrContextUtil {
         private static AbstractApplicationContext ctx = null;
         public AmrContextUtil() {
              super();
         public final static synchronized AbstractApplicationContext getInstance(){
              if (ctx == null){
                   ctx = new ClassPathXmlApplicationContext("classpath:config/applicationContext.xml");
                   setCtx(ctx);
              return ctx;
         public final static synchronized AbstractApplicationContext getCtx() {
              return ctx;
         public final static synchronized void setCtx(AbstractApplicationContext ctx) {
              AmrContextUtil.ctx = ctx;
    B) Here is the error reported by the server:
    2010-02-10 15:42:28.312/57.986 Oracle Coherence GE 3.5.2/463 <Warning> (thread=GridExecutor:Thread-2
    , member=1): TaskRunner - Failed to process 0x00000126B99E5524AC1F007AAB1587BBCFEC5E6637E1DED6CCB984
    03D6AADF4D due to:org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from URL location [classpath:config/reports-application.xml] Offending resource: class path resource [config/applicationContext.xml]; nested exception is org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unexpected failure during bean definition parsing
    Offending resource: class path resource [config/reports-application.xml] Bean 'reportSqlMapConfig'; nested exception is org.springframework.beans.factory.parsing.BeanDefinitionParsingException: *Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/util]*
    *Offending resource: class path resource [config/reports-application.xml] Bean 'reportSqlMapConfig'*
    -> Property 'resourceMap'
    c)Here is my application-context.xml offending line:
    <bean id="reportSqlMapConfig"
    class="com.xx.report.generator.ReportSqlMapConfig">
    <property name="resourceMap">
    <map>
    <entry>
    <key>
    <util:constant static-field="com.xx.report.domain.ReportType.FPA"/>
    </key>
    <value>classpath:config/diehardReportSqlMapConfig.xml</value>
    </entry>
    <entry>
    <key>
    <util:constant static-field="com.xx.report.domain.ReportType.FCN"/>
    </key>
    <value>classpath:config/falconReportSqlMapConfig.xml</value>
    </entry>
    <entry>
    <key>
    <util:constant static-field="com.xx.report.domain.ReportType.ODS"/>
    </key>
    <value>classpath:config/odsReportSqlMapConfig.xml</value>
    </entry>
    </map>
    </property>
    </bean>

    My guess is that something is broken in the configuration of the cacheServer and its not finding
    all of the dependencies that your process pattern application needs. Probably the best way
    to debug this stuff is to define a static main in your runnable task which will make the call
    to the run() method and invoke it as the main class using the identical settings (classpath,
    run directory) that you are using to launch the Coherence cache server.
    Regards,
    Bob

  • How to import multiple XML schemas in Toplink.

    Hi All,
    I try to import multiple Schema(defined by EPCGlobal) in toplink This schema imports few other schemas and all are available in the same location.
    For this I tried to create a project by selecting XML radio button, and specified an XSD. The classes are getting generated for this file. After this, I try to import all other schema's using the Import schema option. I'm able to import it. but, I'm not able to generate classes for the schemas imported recently. Can you please let me know whether this is the expected behaviour..?
    Alternatively, I try to import a Schema(defined by EPCGlobal) in toplink through a TopLink-Jaxb Project. But I get the following exception..
    oracle.xml.parser.schema.XSDException
    at oracle.xml.parser.schema.XSDBuilder.buildSchema(XSDBuilder.java:754)
    at oracle.xml.parser.schema.XSDBuilder.build(XSDBuilder.java:407)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at oracle.toplink.workbench.utility.ClassTools.invokeMethodWithException(ClassTools.java:572
    at oracle.toplink.workbench.utility.ClassTools.attemptToInvokeMethodWithException(ClassTools
    .java:198)
    at oracle.toplink.workbench.utility.ClassTools.invokeMethodWithException(ClassTools.java:541
    at oracle.toplink.workbench.utility.ClassTools.invokeMethodWithException(ClassTools.java:526
    at oracle.toplink.workbench.mappingsmodel.schema.MWXmlSchema.reload(MWXmlSchema.java:481)
    at oracle.toplink.workbench.mappingsmodel.schema.MWXmlSchemaRepository.addSchema(MWXmlSchema
    Repository.java:107)
    at oracle.toplink.workbench.mappingsmodel.schema.MWXmlSchemaRepository.createSchemaFromFile(
    MWXmlSchemaRepository.java:89)
    at oracle.toplink.ox.jaxb.compiler.tljaxb.generate(tljaxb.java:70)
    at oracle.toplink.ox.jaxb.compiler.tljaxb.main(tljaxb.java:44)
    I tried to use the "tljaxb.cmd" but there too the same problem occurs.Where the problem could be..? please let me know.
    As I'm struck with this problem, please throw some light in this regard.
    Thanks
    Rajasekaran

    Rajasekaran,
    I have examined your XML schemas and do not believe that the problem is due to the import. Instead it is because the XML schema being imported is itself invalid. I have emailed you the specific correction to your XML schema. It was an error related to the namespace qualification of the type in one of your element declarations.
    -Blaise

  • Data import for users of forms created with Livecycle Designer

    Hello,
    I have seen several posts regarding data import for forms created by Livecycle Designer but nothing that helps with something I am trying to accomplish.  I can create a data connection and import information in a form but what I would like to do is import data, then send the pdf for completion to a user.  There are a few data elements that I have available and the rest of the information comes from from the user.  The problem I run into is once I create a data connection, the pdf is ALWAYS looking for the source file for that data.  I simply want to prepopulate some fields and send to the various users for completion.  Any help would be greatly appreciated.
    Thanks!

    Which type of Data Connection are you trying to create?
    XML Schema, Sample Data File or WSDL?
    Creating any one of first two types(mentioned above) will only create schema and will never import any data into PDF.
    If you create the WSDL connection, you can surely import data (i.e. prepopulate data) into your PDF and forward it for users review/fill.
    If I misunderstood your question, please get me clarified.
    Nith

  • Import for table only in one line

    There is the following command for import of the schema:-
    imp <userid/password> file=<export dump file location> fromuser=<export user name> touser=<import user name> grants=y constraints=Y rows=y log=<import log file location>
    But, what if we want to import only one table, then what should the import statement look like?
    I hope, my question is clear.
    Please, help in solving the doubt.
    regards

    Just a query!!
    I have a 9GB full dump and i want to recover say 1 table 100MB from it. Suppose, if the table is probably in a schema that is at the last portion of the dump file.
    Why does the imp utility search through the whole dump to come accross the table to be imported. Is there any way to cut the time of search in the dump file by imp utility to directly jump on the schema and then start the search for the table?
    Please share experiences.
    Regards,
    Zaffer Khan

  • Skip the import of a schema in the dumpfile

    version:11.2.0.3
    Platform : RHEL 5.4
    Imagine you have 100 schemas backed up (expdp) in a dumpfile and you want to import just one schema from that dumpfile in a DB. You can specify just that one schema you want using SCHEMAS parameter in the impdp. But things are not straightforward when you want use REMAP_SCHEMA.
    Here is my scenario:
    ===================
    I took the expdp dump of schemas A and B in one go. So, dumpfile has objects from both A and B.
    The dumpfile name is : schemas_AandB.dmp
    Now , I want to create schema C from A using REMAP_SCHEMA parameter
    -- Putting each parameter in a separate line for readability
    impdp PSTREF/PSTREF_123
    DIRECTORY=ADET_EFX_DIR
    DUMPFILE=schemas_AandB.dmp
    LOGFILE=CreatingCfromA-Impdp.log
    REMAP_SCHEMA=A:CEverything goes fine. Schema C is created from Schema A in the dumpfile.
    But impdp is trying to create schema B as well because schema B was present in the dumpfile. Since the schema B and its objects are already in the DB , I get the following errors.
    ORA-31684: Object type USER:"B" already exists
    ORA-31684: Object type PROCEDURE:"B"."SP_CLEAREXPIREDSESSIONDATA" already exists
    ORA-31684: Object type PROCEDURE:"B"."SP_DELETESESSIONDATA" already exists
    ORA-31684: Object type PROCEDURE:"B"."SP_DELETESTATECONTEXTINFO" already exists
    ORA-31684: Object type PROCEDURE:"B"."SP_GETNEWCONTEXT" already exists
    ORA-31684: Object type PROCEDURE:"B"."SP_GETNEWSESSION" already exists
    ORA-31684: Object type PROCEDURE:"B"."SP_GETNEXTPART" already exists
    ORA-31684: Object type PROCEDURE:"B"."SP_GETSESSIONDATA" already exists
    ORA-31684: Object type PROCEDURE:"B"."SP_GETSTATECONTEXTINFO" already existsSince I don't want Schema B to be imported, I tried using the SCHEMAS parameter by mentioning just A.
    -- Adding SCHEMAS parameter
    impdp PSTREF/PSTREF_123
    DIRECTORY=ADET_EFX_DIR
    DUMPFILE=SCHEMAS_AandB.dmp
    LOGFILE=CreatingCfromA-Impdp.log
    REMAP_SCHEMA=A:C
    schemas=A   ---------------------------> Trying to avoid schema B in the dumpfile from being imported by specifying SCHEMASBut I got the following error
    ORA-39065: unexpected master process exception in MAIN
    ORA-12801: error signaled in parallel query server PZ99, instance oracth214:HEWRAC1 (1)
    ORA-01460: unimplemented or unreasonable conversion requestedMaybe REMAP_SCHEMA and SCHEMAS parameters won't work together. Is there any way to prevent the impdp from importing user B and its objects ?

    YOU HAVE TO USE THE OPTION EXCLUDE=SCHEMA:"IN ('B') INSIDE THE expdp
    EXCLUDE SCHEMAS
    http://rkdba.blogspot.in/2011/04/expdp-exclude-multiple-tables-and.html

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

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

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

  • Exporting & Importing Physical & Logical schemas, data servers, agents

    Hi,
    I am using ODI 10g.
    I want to export Physical & Logical schemas, data servers, agents from my ODI test environment and to import them to ODI production environment.
    My requirement is to do this export import through some scripts instead of doing it manually.
    Please guide for this.
    Thanks,
    Divya

    Hi Divya,
    Personally i feel rather than exporting individual components/objects, its suggested to export master repository as such.
    You can make use of ODI utility OdiExportMaster (under <ur package>->Tools->Oracle Data Integrator Objects) for exporting and Import Master Repository wizard (All Programs->Oracle-> Oracle Data Integrator->Repository Management-> Master Repository Import )for importing.
    Thanks,
    Guru.

  • Problems importing an XML Schema

    Hello,
    I am trying to import an XML schema using the MDM Console.
    In the Console Hierarchy tree I right-click on the MDM repository into
    which I want to import the XML schema and choose Import
    Repository Schema from the context menu and finally I choose a simple XML file.
    Then an message appears: "MDS Version mismaths. Upgrade the source repository to the latest version and import the original schema again"
    I use the SAP MDM Console for Windows, version 5.5 SP4. There is another way to import an schema in my repository? This Console version really doesn't support it?
    Thank you.
    Could I import my Schema of my repository using MDM Import manager?

    Hi Marta,
    MDM Console will not update the schema.If you select an xml schema in the import manager and try to specify an xml file with different structure,Then it will give you error and will not allow you to import.
    You define xml schema into MDM console so that u can import data into MDM repository from the xml file or files having same structure as defined into xml schema table of repository.
    The XML Schema drop-down list in Import manager includes an entry for each XML schema you define in the MDM Console. For each XML Schema defined in the console, you can select multiple XML source files, each having the same structure.
    Hope it will help you.Let me know the result and further queries if any.
    <b>
    Please remark if it helped you.</b>
    Thanks,<b>
    Shiv Prashant Dixit</b>

  • Dataguard setup for selected schemas

    Version:10.2, 11.2
    Platform : Solaris 5.10
    In our Production DB, we have some schemas which we do not want to be replicated at the standby site. Logical backup is enough for these schemas.
    Instead of replicating the entire database, Is there a way we could set up dataguard in which the logs are shipped only for selected schemas?

    With a Physical Standby Database , you always 'replicate' your whole Primary. With Logical Standby, though, you could exclude certain schemas from the 'replication'.
    Another option would be - as already mentioned by others - to do a regular replication with Streams or Golden Gate and only replicate the schemas resp. objects that you deem important.
    However, I would recommend that you review the requirement to exclude 'unimportant' schemas from your Standby Database. It makes the whole setup more complicated than necessary.
    Just go with Physical Standby and ignore those schemas - why bother?
    Kind regards
    Uwe Hesse
    http://uhesse.wordpress.com

  • Adding a Custom Version Number for a schema

    Hi,
    I'm currently looking at ways to set an arbitrary version number that would help me know where a particular is currently at. I already have a logging table to indicate which scripts have been run. But I want to "tag" my schema with a version.
    In MSSQL I've been using the extended properties. I was wondering if there was such a thing for a Schema. The Comments functions don't seem to be available at that particular level in the database. Should I have a separate table or there's something I can use that's already there but just can't find?
    Thanks,
    Greg

    New info: Updating to iba 2.0 without updating to producer 2.8 is not to recommend:
    Book Versioning is available for books constructed in EPUB 3 or using iBooks Author version 2.0.
    If your book is in EPUB 3 format or was created using iBooks Author version 2.0, it is important to note you are required to fill out the "What's New in Version" section in the Info pane in iTunes Producer.  If you update your book and you do not fill out this section, your book will not continue through our review process and thus, will not go live on the iBookstore. 
    First please ensure you are using the latest version (2.8) of iTunes Producer. You can download this new version in iTunes Connect under the Deliver Your Content module. Once you have launched iTunes Producer version 2.8 and clicked on Look Up Metadata from the “Welcome to iTunes Producer” window,  you will see the "What’s New in Version" section in the Info pane.
    If your book is not in EPUB 3 format and was not created using iBooks Author version 2.0, you are not required to fill out the "What's New in Version" section in iTunes Producer.

  • Export objects for others schemes

    Hi
    I create Procedures/Packages/Tables in an Scheme , after I Must to Export to other Scheme.
    I have 4 schemes, How can I to create a Script without to need rebuilt all scripts ?

    Are you asking to extract the scripts, if so then use
    OEM or TOAD.
    If you want to import in other schema then use
    fromuser - touser
    RegardsSorry , I did not get to explain very well, My english is horrible;
    Are new objects, with
      Create Table 
      Create or Replace Procedure
      ..etcI Must to pass script to DBA for He to compile

Maybe you are looking for

  • Can't drag Service into BPEL flow in JDev 10.1.3.4 on Mac OS X 10.5.5?

    Hi there - I have an issue in JDev 10.1.3.4 on the Mac. When I open a BPEL flow in JDev and begin to build a process, I can't drag/drop a service from the right hand Services palette into the flow. I noticed this when trying to bring in an Oracle App

  • Goods movement button not visible in CO11N

    Hi, i am not able to see goods movement button CO11N transaction as shown below in one if my IDES server.... what settings we need to do for this so that goods movement button is visible like below... Thanks Kumar

  • Territorywise Customer List and Balance

    Hi All, How I can check Territorywise customer list and customer balance?? Regards

  • Windows Gui - Running on a Mac.

    Intresting little snippet of information. We have managaed to get the Windows version of SAP GUI running on OSX Lepoard, using sun global desktop. Quite neat. Works perfectly on version GUI version 7.10, without any issues. runs in in an X window, re

  • Sharing internet connection over wifi - 2 questions

    I have a Mac mini that is connected to a cable modem by ethernet, and then broadcasts a wireless network to share that connection. It seems silly to buy a wireless router when one of my computers can be the router. The mini's firewall is enabled, and