How to drop and import the tables

i got some tables that need to be dropped and recreated.It has got a PK with on delete cascade constraint.I need to drop and import those tables.How can i ddo this.
Can i diable the constraints on these tables and import?

Well, in that case I would not drop the user! Another thing to consider would be an import into temp/staging tables and then merging into the target tables. You would need to order so that RI constraints would not fire. The nice thing about this is that you could still use the tables as you were loading.

Similar Messages

  • How row migration get eliminated by export and import the table.

    Hi ,
    Please let me know,how row migration get eliminated by export and import the table.
    Another method,deleting migrated rows and inserting those rows from copied table,
    i think the concept behind this method is,inserting these rows into new block.
    pls correct me if i am wrong.
    Thanks,
    Kumar.

    Hi!
    You can also use ALTER TABLE MOVE command, or if you are on 9i you can use DBMS_REDEFINITION package.
    If you have a maintainance window the easiest way would be to use alter table move.
    Regards,
    PP

  • How to export and import the lsmw

    Hi Friends,
    How to export and import the objects in lsmw
    from dev to qas(quality) systems........
    its urgent.........
    regards,
    venu.

    best way is to create a transport and move it to other enviroments
    There are two ways of Transporting for this. Can choose any one.
    Goto the LSMW Transaction
    1)Extras>Export Projects>(Give the Project name)
    In next screen(Choose what subproject, routines, etc.. you wan to copy then, Export Rules-->Export((Will prompt for file name)
    A text file will be downloaded.
    In the Target System
    Goto LSMW Extras-->Import Projects and give the text file which was downloaded.
    2)Extras-->Generate Change Request
    Assign a change request which is basically a transport request and you can then get this transported from one system to another through the basis route.

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

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

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

  • How to export and import the Portal Components

    Hi,
    I had developed few components like (Forms, Reports, Frames etc.,) in Oracle Portal release 2. Now, I need to make available all the components on my Client's machine. I like to know how to export and import these components.
    If any can help in this, it will be a great help for me...
    Thanks in Advance...

    The migration of any Portal DB provider components, has the following steps.
    Assume that you are migrating a form component form_X.
    1) Click the export link of the form_x.
    (this will take you to create transport screen).
    2) Specify a name of the transport set which you are going to create. (eg., "My form_X transportset")
    (Since the objects are migrated using a container which is in other words called as 'Transport Set').
    3) In that select the export now button.
    (this will mark your form component form_X for export).
    4) Verify that the status of the transport is 'Extract Complete'
    (check with the browse transport screen in Export/Import Portlet under Admin tab).
    5) Now, the object information is extracted into transport set tables used by Portal Export/Import Utility.
    6) Go to that particular transport set, (browse transport) and download the script available.
    7) That script will lead you to various steps,
    (create a dump ).
    8) In the target instance, import that dump using the same script again.
    9) Merge the contents of the dump (form_X information) into any of the application.
    (Import option => in the export/import portlet under admin tab).
    10) Verify that the status of the transport set is 'Merge Complete'.
    Now, the object is migrated and ready for use.
    (Here are explaining the export/import process in detail.
    You can refer the export/import manuals.
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/INTERNALPRODDEVFOLDER/TECHREADINESS/CM_PUBLISHING/EXPIMP/EXPORT_IMPORT_LOB0.PPT

  • How to Export and Import the schemas

    How can i export & import the schema's ? pls give me some example on how to do it.
    Could anyone pls show the commands to retrieve the Tablespace information... i mean what its initial size.. and how much of space has been used...
    ur reply is very much appreciated
    regards
    Muraly

    user11136977 wrote:
    Hi all,
    i am trying to export / import, need to know the commands
    =>how to export and import full schemas from 1 user to another
    =>how to export and import database
    =>how to export the tablespaces
    RegardsNo version, must be 10g then.
    All you asked and much more in the Utilities guide.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/exp_imp.htm#i1023560
    HTH
    Aman....

  • How to update and retrieve the table control entries and field entries.

    Hello everyone,
    i have a requirement,
    i have    company code , plant, fiscal year, posting period  fields in the selection screen and then below that i have a  table control which contains 4 fields  invoice no., check number, check date and amount.
    i have to enter the values and when i press  SAVE button , these values have to update in a custom table which i had created.
    please send me the coding how to do this object.
    will be rewarded.
    thanks in advance.

    Hi Suresh
      this is actual requirement
    in the CAT2.
    1. Add a new column for WBS description and derive the value as per the FS
    2. Retrieve project number and description and update in the column specified
    3. When a service order is selected it should do the same for 2.
    4. Finally repeat for the worklist view (which is the section above)
       here i am able to display values at data entry area
    for service order and network but not worklist area ?
        updation is not coming, can u plz go throw it..
    Thanks
    Chinna

  • PLD:- how to export and import  the designed print layouts

    Hi Experts
    i am unable to export the clients designed invoices and all designed ones to XML as well as i am not able to find where these templated are getting stored
    i did like this after finishing the invoice design ->went to file -> export to XML.
    when i click this its not asking destination and its gone
    if i want to import the designed templates again what the procedure
    please give me exact solution for these problems
    thanx in advance
    madhusudhan reddy
    "[email protected]"

    You could use Copy Express Addon provided by SAP
    OR
    Read this thread where the same topic has been discussed.
    How to omport PLD from testing database to Production Database
    Best wishes
    Suda

  • How to export and import the source code

    Hi,
    I want to ensure the dev databse and prod databse same
    I dont mind about the data.
    I want all the objects ( packages,procedures,functions ) to be exported and imported.
    Please help me out in this
    Regards,
    Ravi

    I wrote a long message but lost everything while trying to post :(
    You haven't mentioned about tables. If there are some changes in the tables structure, you need to take care of that also as in the new database if you don't change the tables all the dependent procedures...functions...packages would go invalid.
    Amardeep Sidhu
    http://www.amardeepsidhu.com

  • How to find and replace the table name/column name

    We have just upgraded the application to R12. Have many reports developed in Oracle Reports Builder. There are many changes in R12 table and column names when compare with 11i. Please suggest a solution to change the table name or column name in multiple reports queries instead of doing manually.

    A Google search may turn up a downloadable service manual for the Laserjet 4600.
    You might also ask in the HP Enterprise Business Community Forum here.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • How to edit and import the scenario via XML format?

    Hi gurus,
    In our project, we have a lot of ECC clients. So in PI system, we need to do a lot of same work in one scenario(Although we have config wizard,it's still boring because of our slow network speed).
    Do we have any fast method to fix that? I mean can we edit the xml of one scenario and then import it into ID?
    There is an import function but only we can import tpz files.
    Thanks in advance. Any help will be appreciated.

    I believe that  XML Data will be used for some later "technical Analysis" or for some documentation purposes and can not be used for the purpose you need to..
    Regards,
    XA

  • Exporting and importing just table definitions

    Hi,
    I have this production database that has a huge amount of data in it. I was asked to set up a test database based on the exact same schema as the live database. When I tried to do an export (from live) and import (to test), with the parameters rows=N and compress=y, the target (test database) data file will still grow enormously, presumably because of the huge number of extents already allocated to the table in the live database. My test database of course, has a limited hard-disk space.
    Is there a way to export and import the table definitions without having the target database experiencing a huge growth in the size of the tablespace?
    Thanks,
    Chris.

    If an export with compress=n is still creating initial extents that a too large, you can still build with the import file but it will take a little work.
    run imp with indexfile=somefile.sql
    when imp is finished, edit somefile.sql by:
    1. remove all the REM statements.
    2. remove all the storage clauses (tables and indexes)
    Make sure your tablespaces have a small (say 1k) default initial extent.
    run imp again with rows=n
    All your tables and indexes will be created with the default tablespace initial extent.

  • How to export and import signatures for addon Signature Auto Paste Prefill Fourms?

    Working with TB 24.7.0 and add-on Signature Auto Paste Prefill Fourms 4.2. I want to copy (export) the signatures to another computer where I want to import them. The developer of the add-on was not able to help me. The export function gives you three choices of format. The import function does NOT work.
    Can anyone provide detailed instructions on how to export and import the signatures from one computer to another? I am using windows XP.
    Bob Ptaker

    If the add-on author is unable to assist you, what hope do us mere mortals have

  • Export and import the internal table

    Hi,
    Could you explain the total internal table data how we export and import please give me example.
    Thanks,
    Hari

    Hi,
    Check this thread..
    exporting internal table to memory variable

  • Reg. Particulare table export and import the same table

    Dear Sir
    I am MM consultant, I would like to export only one table and import the same after some request released,how to do this. Please help me.
    I am working in Oracle 10.2.0.2.0 release
    Thanks in advance
    Rajakumar.K

    Hello Raja,
    you want to export some table, perform some changes on the system (releasing a transport) and then reimport the old state of the table? This sounds like a very bad idea. You are inviting desaster and compromise the consistency of your system.
    Go to http://help.sap.com chose your release and enter the search term brspace to find out
    supported ways to reorganize a table.
    Regards,
    Mark

Maybe you are looking for

  • Which activity reports keep track of user in sap ep

    HI ALL which activity reports keep track of user who logged in a day  in Enterprise Portal. I dont want active user only. i want recently visited active users in a 1 day. Edited by: johnright on Mar 7, 2011 12:27 PM

  • How to create compostite attributes in Sap bw

    Assume that my master table has the foll columns cust_mast cust_acct                   number cust_acct_seq_no      number primary key -- [ cust_acct & cust_acct_seq_no.] Please let me know on how to implement the same.

  • Installed 10g on Windows 2003 computer with existing 9i

    Hi, I have just installed 10g on a PC running Win2003 with an existing 9i. When I tried logging on to 10g, it's telling me TNS protocol adapter error. I configured a new 10g listener and setup the tnsnames as well. When I started the 10g listener, it

  • Authorizing 2 computers with the same Adobe ID

    How do I authorize a 2nd computer with the same Adobe ID as the 1st?

  • How to Modify EBS provided in OTB PIP

    Hi All, I tried to add an extra operation in the SalesOrderOrchestrationEBS of Order to Bill PIP. I copied the SalesOrderOrchestrationEBS.wsdl from the EnterpriseBusinessServiceLibrary on the server. I added the one way operation with name "add" and