How to export-import referential integrity constraints ?

Hi all
Is there any way to export only the referential integrity constraints from one user to another user ?
Suppose i am having SCOTT user which is having EMP , DEPT tables . And also I am having another user (say TEST) which also is having those EMP and DEPT table but without the referential integrity constraints . Now can i export
referential integrity constraints from SCOTT and import into TEST so that EMP,DEPT tables(in TEST) will have those referential integrity constraints which are present in SCOTT user ?
Thanks
Debashis
Bangalore

Hi,
See the BAM Enterprise Link Utilities User's Guide for additional Enterprise Link import/export capabilities not exposed via ICommand.
Regards, Stephen

Similar Messages

  • Associted two table where referential integrity constraint is  present

    SELECT A.COLUMN_NAME,A.CONSTRAINT_NAME,B.CONSTRAINT_TYPE,A.TABLE_NAME FROM USER_CONS_COLUMNS A,USER_CONSTRAINTS B
    WHERE A.OWNER=B.OWNER
    AND A.OWNER='TEST'
    AND A.TABLE_NAME=B.TABLE_NAME
    AND A.CONSTRAINT_NAME=B.CONSTRAINT_NAME
    AND A.TABLE_NAME='CN_SMSC'
    from this query we can get name of the column ,const name,type and associated sigle table name.
    my question is
    ==============
    how will i get associted two table where referential integrity constraint is present

    SELECT A.COLUMN_NAME,A.CONSTRAINT_NAME,B.CONSTRAINT_TYPE,A.TABLE_NAME "Detail Table", b.R_CONSTRAINT_NAME , c.TABLE_NAME "Primary table"
    FROM user_CONS_COLUMNS A,user_CONSTRAINTS B, user_constraints c
    WHERE A.OWNER=B.OWNER
    AND A.OWNER='TEST'
    AND A.TABLE_NAME=B.TABLE_NAME
    AND A.CONSTRAINT_NAME=B.CONSTRAINT_NAME
    and b.CONSTRAINT_type ='R'
    and c.CONSTRAINT_NAME = b.R_CONSTRAINT_NAME
    AND A.TABLE_NAME='CN_SMSC'

  • How to Export/Import in Windows-Oracle10g-EnterprisesManager

    Hi
    How to Export/Import in Windows operating system / Oracle 10g through Enterprises manager.
    1)Which oracle user has privilege to logon in Enterprises manager for export/import purpose.
    2)After loging on to the Enterprises manager's Maintaince menu it asks Host credential here whether i should give OS administrator name & password or Oracle user name & password.
    by
    balamuralikrishnan.s

    Hi1)Which oracle user has privilege to logon in Enterprises manager for
    export/import purpose.
    Normally owner of the schema has all privilege of export/import data in his own schema.
    2)After loging on to the Enterprises manager's Maintaince menu it asks Host
    credential here whether i should give OS administrator name & password or Oracle user name & password.Give oracle user name & password(ie., owner of the schema and password)

  • Self Referential integrity constraint?

    What is self-referential integrity constraint? Is it a foreign key where the same column acts as the parent key too.

    The good old EMP table in the SCOTT schema is one example. Managers are employees, so the MGR column refers back to the EMPNO primary key. If I wanted to create my own table...
      1  create table emp2 (
      2   empno number primary key,
      3   mgr   number references emp2( empno )
      4* )
    SCOTT @ hp92 Local> /
    Table created.Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • How to export &import the OSS note?

    Hi Team?
    How to export &import the OSS note?

    Dear Jagadish,
    Download SAP Notes from the SAP Service Marketplace and upload them in Note Assistant.
    Start Note Assistant (transaction SNOTE).
    Download the SAP Note from SAPNet - R/3 Frontend. To do this, choose "SAP Note Download" (Ctrl + F8) and enter the relevant SAP Note number. The downloaded SAP Note appears in your worklist under the category New.
    Read the SAP Note!
    Check whether the SAP Note entails manual activities. (See also answers to questions concerning ABAP Dictionary objects and messages.)
    If this is the case, first perform the manual activities.
    Implement the SAP Note. To do this, choose Implement SAP Note. During implementation, Note Assistant may download prerequisite SAP Notes that must be implemented before.
    Also read and check the prerequisite notes! This is necessary, since they may also contain manual activities. If you don´t do this, the syntax check can bring up an error of the relevant field of the function module, for example.
    Reward points if it helps.
    Regards,
    Naveen.

  • How to export&import data using sql *loader

    Hi all,
    How to export&import data from sql*loader. Give me the clear steps..
    Thanks in Advance

    Hi did you already exported data from SQL SERVER? if not using SQL*LOADER you cannot export data. SQL*LOADER is only mean for importing data from flat files(usually text files) into ORACLE tables.
    for importing data into oracle tables using sql*loader use below steps
    1) create a sql*loader control file.
    it looks like as follows
    LOAD DATA
    INFILE 'sample.dat'
    BADFILE 'sample.bad'
    DISCARDFILE 'sample.dsc'
    APPEND
    INTO TABLE emp
    TRAILING NULLCOLS
    or for sample script of control file search google.
    2) at command prompt issue following
    $ sqlldr test/test
    enter control file=<give control file name which you create earlier>
    debug any errors (if occured)

  • How to  Export/Import "report for the query" to another company

    Hello,
    I do this:
    1.create query in SQL analizer
    2.copy paste into SBO query generator and save
    3.create report for the query
    Then, How to Export/Import "report for the query" to another company ?
    Thanks for your HELP.

    Look for SAP Note number 600813
    That's the note Adele means, I guess.
    <b>Edit (@13:18)</b>
    The direct link:
    https://websmp101.sap-ag.de/~sapidb/012006153200000183292003E.ITF
    ---- Replace *SOURCE* with the source database name.
    ---- Replace *DEST* with the destination database name.
    insert into [*DEST*].[dbo].[RDOC]
    select [*SOURCE*].[dbo].[RDOC].*
    from
    [*SOURCE*].[dbo].[RDOC],[*DEST*].[dbo].[cinf],[*SOURCE*].[dbo].[cinf]
    where [*DEST*].[dbo].[cinf].[lawsset]=[*SOURCE*].[dbo].[cinf].[lawsset]and [*DEST*].[dbo].[cinf].[version]=[*SOURCE*].[dbo].[cinf].[version] and [*SOURCE*].[dbo].[RDOC].[Doccode]NOT IN (SELECT Doccode from [*DEST*].[dbo].[RDOC])
    insert into [*DEST*].[dbo].[RITM]
    select [*SOURCE*].[dbo].[RITM].*
    from [*SOURCE*].[dbo].[RITM],[*DEST*].[dbo].[cinf],[*SOURCE*].[dbo].[cinf] where [*SOURCE*].[dbo].[RITM].[Doccode] NOT IN (select Doccode from [*DEST*].[dbo].[RITM])AND [*SOURCE*].[dbo].[RITM].[Doccode]IN (SELECT Doccode from [*DEST*].[dbo].[RDOC])
    Hope it helps...
    Grtz, Rowdy

  • How to export / import workspaces from CS3 to CS5

    How to export / import workspaces and other preference settings from CS3 to CS5.

    copy the files from
    (username)/library/preferences/AICS3settings/en_us/workspaces
    to
    (username)/library/preferences/AICS5settings/en_us/workspaces

  • How to export/import plan witch a scheduler data

    How to export/import plan witch a scheduler data

    Hi,
    See the BAM Enterprise Link Utilities User's Guide for additional Enterprise Link import/export capabilities not exposed via ICommand.
    Regards, Stephen

  • Apex 4.0 import error - integrity constraint (APEX_040000.WWV_FLOWS_FK)

    I have a new Oracle Express 10G instance with Application Express 4.0 installed on it. I am trying to import an existing application that has been exported using Application Express. I get this error. How do I fix this?
    SQL> connect apex_040000/xxxxxxxxx
    Connected.
    SQL> show user
    USER is "APEX_040000"
    SQL> @C:\apex_misc\f41362_app_export_092010.sql
    APPLICATION 41362 - REQ Tracker
    Set Credentials...
    Check Compatibility...
    API Last Extended:20100513
    Your Current Version:20100513
    This import is compatible with version: 20100513
    COMPATIBLE (You should be able to run this import without issues.)
    Set Application ID...
    begin
    ERROR at line 1:
    ORA-02291: integrity constraint (APEX_040000.WWV_FLOWS_FK) violated - parent
    key not found
    ORA-06512: at "APEX_040000.WWV_FLOW_API", line 621
    ORA-06512: at line 3
    Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Produ
    ction

    Hi,
    as you say your Apex instance is new - does the workspace you exported the application from exist on your new apex instance? Probably not. You could try to set the appropriate one using the API like this:
    exec wwv_flow_api.set_security_group_id(p_security_group_id => apex_util.find_security_group_id(p_workspace => 'XYZ'));This still requires that you already have created the workspace.
    Is there a reason why you don't import the application with the workspace import?
    -Udo

  • How to export / import tables from UAT Environment to Devlopment  in oracle

    i wanted to share some points about export/import tables in oracle.
    we have two environments one is development and integrated user acceptance test (UAT).
    we have finalized table structures with data in UAT. i wanted to move from UAT to Development.
    i found some commends in google. I tried but I am not able to export and then its throwing some errors.
    i am explaining below what i want to do and what i want did.
    Please provide solution what i need to do.
    admin credentials in UAT
    username :venkat_admin
    password :venkat_admin
    UAT user/schema
    username : ods_inb_stg
    password : ods_inb_stg
    development environment credentials
    admin user name : dev_admin
    password : dev_admin
    Development user/schema
    username :ods_inb_dev
    password :ods_inb_dev
    Above mentioned schema names i want move data from UAT (ods_inb_stg) to development (ods_inb_dev)
    I logged in uat ods_inb_stg user and then
    I used this command
    Exp ods_inb_stg/ods_inb_stg file=party_pt_address.expdat tables=(party,party_address)
    log=party_pt_address.log;
    getting error
    Unknown command beginning "exp ods_inb_stg/..." - rest of line ignored.
    What should I do any one help.
    One more thing i have more than 100 tables how to export all tables and which is the easiest way and how to do it.
    Thanks in Advance
    Venkat

    Hi,
    based import and export we need to do.
    suppose we think we have created tables in production and data also populated. we need to export the tables with data. i am able to export the tables with data some tables or full database.
    suppose we have development environment. in development environment there is no tables. we can treat nothing in development. we have only username,password and hostname.
    when you import the tables production to development automatically create the table structures with data.
    where ever we wanted to import the tables no need to create table structures. thats why no need to think about table structures.

  • How to export/import database from tools menu in sql developer.

    Hi,
    I need to export database from a server and import it on another db server using the export database function under tools menu in SQL developer. How do I import it? This is for Oracle 10g database.
    Thanks

    Depends what are you trying to do? Are you making a database copy or just creating an empty schemea or creating schema with the data?
    With 10g, you have also options of using datapump (expdp/impdp) and conventional export/import which is very usefule and easy to use when it comes to create a clone (duplicate schema) or an export/import of some objects.
    If you right click on table object, you have options of export ddl/export data and import data but thats different thant what expdp/impdp or conventional export/import provides. For very small database you can use sqldeveloper but consider
    using other above mentioned options. Hope this helps
    Regards

  • How to export/import new SCV and products?

    Hi,
    I have created a new product, product version, software component and software component version in the SLD.
    Now I need to import that to another XI system with a different SLD. The product, product version etc. is unknown in the target XI system.
    How/What do I have to export all these new things?
    If I try to export/import the SCV, I get the following message during import:
    "<b>The target namespace for the special import already contains data for one or more export lines. Continuing this import may corrupt the state of your data.</b>
    Import CIM models and data to the current namespace: sld/active  (Database). 
    Ensure that this import will not cause an inconsistent state of your data.
    If you are uncertain about the consequences of this import, you should cancel it. "
    Do I need more export/import steps? That means: First the product, than the product version, than the SV and finally the SVC?
    Thanks and regards,
    Christian

    Hi Christian,
    if you want to move SLD content
    have a look at this doc:
    https://websmp110.sap-ag.de/~sapidb/011000358700000315022005E.PDF
    it's an officla guide to moving SLD content
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • How clean export/import (st02) swaps?

    Hi
    We are facing a big problem in PRD environment, point is, very low PRD time performance and users need to work; checking on ST02 systems shows Buffers "Export/Import" swaps values high ( red ), We were wondering if exists a T/C which help us to clean buffers?
    Thanks your help!!!

    Hugo, (tu hablas español, si es asi hay un foro en español tambien)
    The low performance issue is not just a problem in swaps, remember something, they are cumulative so if your system is up from a long time ago, then is normal that ST02 shows swaps, how high depends on hits to the buffers, how is the hit ratios for the buffers with red swaps?
    If you take down SAP and start it again swaps will disappear.
    If you are experiencing performance problems then it is better to take a look at the ST03N, there you could see if problems are in DB, Network, Presentation server (PC with SAPGUI), process time, etc and there you can narrow the problem.
    Did the server was working right and then turned slow from some time ago? or
    did you do an upgrade to ECC 6.0? or
    is the problem only during certain hours? or
    is only when executing some transactions/jobs?
    With more info we can help you more...

  • How to export import HR forms

    Hi How can we export import Hr Forms like scripts we have RSTXSCRP.
    Smart forms there only we have option.
    Like this is there any thing for HR Forms...
    Regards
    sas

    Ya thanks amit i got it.....
    any one for this probelm reach me at ..
    Saslovesap  @ gmail dot com
    Regards
    Sas
    Solution :
    a empty form cant be uploaded it requires a supporting form to upload into target place so we need to create any dummy form or else take a standard form and based on form.
    after that we can delete it (Dummy ones)

Maybe you are looking for

  • Fusion Drive & Swap files

    From time to time on my new Mac Mini with 1 TB Fusion Drive, I am getting the following error: "Your Mac OS X startup disk has no more space available for application memory." This would indicate an issue with being able to write swap files/virtual m

  • Windows Backup fails to complete and System shows 29 Restore Points all titled "System Image restore point" but none will work.

    Problems both seemed to appear about the same time and may be related. Had backups on an  external drive prior to the problem and appeared to be working. I have since cleaned the external drive in an attempt to start a new backup series but it contin

  • Lost thread in PI forum

    Hello PI Gurus! I've lost my thread "Resource Adapter deployment - problem with application reference". The tread is only visible in my watchlist and I can only see Christian Sy's reply! And an error message is shown: "This thread is locked - replies

  • Is there any blog available on HTTP receiver adapter?

    Hi all! I have to develop a scenario like File(File adapter)->XI->J2EE application(HTTP adapter as receiver). How to do this scenario I want complete step by step procedure. Please help me!Its urgent Thanks

  • How to create Messages with Value Bindging

    Hello, i have an custom component and want to show all message for this component: <h:column> <t:messages binding="#{FolgeterminMessages.messages}" globalOnly="false"></t:messages>