How to Export/Import specific/selected table columns (can database view be

All,
I like to export and import some selected columns and rows of a table from one oracle database to another database.
For example, I like to export the following SQL's result data to another oracle database.
select ename, sal from emp where dno = 100;
Can I create a database view based on the above SQL and export the view with data (I don't think data will be exported along with database view?)
I know, I can do this either with SQL*Loader or by creating DBLink between databases and using insert-select statement.
Please let me know if this is possible in exp/imp.
Appreciate your help.
Thanks
Kumar

Hello,
You can Query and table option to export and import and i recommend you to create parameter file to use query option
parfile.par
file=myexport.dmp
tables=table1,table2,table3
query="where dno=2"
..Conventional export/import, you can also consider using datapump if you are using 10g.
exp username/password parfile=parfile.par log=myexport.log
imp username/password file=myexport.dmp tables=table1,table2,table3 log=myimport.logRegards

Similar Messages

  • How to deselect a select table column?

    Hi!
    I've implemented a table with selectable columns.
    This is working fine, but I'm not clear how to deselect the selected table column with code.
    How to do so?
    Thanks for any hints!
    Peter

    Hi Peter,
    Try this code
      DATA lo_el_element TYPE REF TO if_wd_context_element.
    * Make row selected
    lo_el_element->set_selected( abap_true ).
    * Make row De-selected
    lo_el_element->clear_selection( ).
    Hope you get the hint.
    Regards
    Nawal Kishor Mittal

  • 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 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 workbook by discoverer plus

    Hi,
    I am an new user of oracle discoverer. We have two database there DB_DEV and DB_PROD. After doing our development in DB_DEV we need to release this development to DB_PROD. But here i am not able to do this. I had tried Export facility of discoverer desktop, but it create export as excel/png file. Could you please guide me how can i resolve the problem.
    Thanks
    Soumen

    Hello
    I have a free document on my downloads page at: http://ascbi.com/downloads.htm called Workbook Migration Guidelines. It is a PDF and while it specifically talks about migrating from Discoverer 4i to 10g you could easily use the information inside to export from one EUL to another EUL at the same level using different users. I think you might find this a useful document.
    Rather than export using the command line, in 10g you can use Administrator and export workbooks using selected objects from the database.
    Best wishes
    Michael

  • 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

  • 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)

  • 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 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

  • How to define our own selection screen for logical database  in abap-hr?

    Hi Friends,
    Can u please help me
    How to define your own selection screens for  logical database.
    we use to do like(goto->attributes-HRReportcatagerious ).but How to desin using  customer table like t599c, t599f and how to add to my logical database?
    Thanks in advance
    charan

    check out this online help
    http://help.sap.com/saphelp_erp2004/helpdata/en/9f/dba65c35c111d1829f0000e829fbfe/frameset.htm
    Regards
    Raja

  • How is the 'import-packages' information saved in the database, and how long?

    Hello,
    I am  developping a ECM Connector for Adobe LiveCycle ES, which is a customized component.
    1 - Who should I contact to have some specific support  ?
    There is no detailed information yet on this on the adobe site  (http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/help/wwhelp/wwhimpl/js/html/w whelp.htm?href=000931.html&accessible=true) .
    If you  think that I should address my problem to another department of Adobe, please  tell me which department?
    I give you another description of my problem. In fact, I have  been investigating on it.
    2 - If I  put this in my component.xml file, in step  1:
    <component-id>com.rsd.adobe.livecycle.RSDFoldersConnector</component-id>
    <version>1.0</version>
    <import-packages><package  version="1.0">com.rsd.simpleApiFolders</package>  </import-packages>
    If I change the  version to 1.1 and remove the  'import-packages' (in step 2) , will the new component need the  com.rsd.simpleApiFolders package. It seems that is still needs it.
    3 - How is the  'import-packages' information saved in the  database, and how  long?
    In  fact, on thursday, I used 'import-packages'  to make a test. And since them, I  can not deploy any of my components.
    LiveCycle throws a  ClassNotFoundException.
    ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException:  Internal error.
    [java] at  com.adobe.idp.dsc.registry.component.impl.ComponentRegistryImpl$6.doInTransaction(Compone ntRegistryImpl.java:338)
    ... Caused  by: java.lang.ClassNotFoundException: http-0.0.0.0-8080-1Class name  com.rsd.simpleApiFolders.Context from package com.rsd.simpleApiFolders not found.
    [java] at  com.adobe.idp.dsc.DSContainerSearchPolicy.searchClassUsingParentFirst(DSContainerSearchPo licy.java:234)
    Thank you in advance
    Regards.

    1 - Who should I contact to have some specific support  ?
    That would depend on your Adobe support contract and if your organization has a TAM assigned.  You should check with your organization's Adobe contact and see what support options your organization has purchased.
    Having said that, this forum has a few people that may be able to help (but the forum does not have a SLA associated with it)
    2 - If I  put this in my component.xml file, in step  1:
    <component-id>com.rsd.adobe.livecycle.RSDFoldersConnector</component-id>
    <version>1.0</version>
    <import-packages><package  version="1.0">com.rsd.simpleApiFolders</package>  </import-packages>
    If I change the  version to 1.1 and remove the  'import-packages' (in step 2) , will the new component need the  com.rsd.simpleApiFolders package. It seems that is still needs it.If your component class needs the simpleApiFolders class then yes, you still need it.  Think of import-packages like a class-path statement (but with packages and not jars).  Its not physically moving the package into your application, but allowing you to access it from another container.
    3 - How is the  'import-packages' information saved in the  database, and how  long?
    As far as I know they are not imported into the database. As I stated above, I believe that the import-packages just allows you to point to classes that are in the app server's classpath, but are not physically in you component jar file.  As long as that class is in the app server class-path (or in the Adobe EAR file) then you should be able to access it.  Is the jar file containing the simpleApiFolders class in the app server's lib directory?

  • How to check relation between two tables in same database

    How to check relation between two tables in same database using Oracle SQL developer. Version 2.1.1.64

    Hi,
    Try this,
    SELECT   cons.owner AS child_owner, cons.table_name AS child_table,
             cons.constraint_name constaint_name,
             cons.constraint_type constraint_type, col.owner parent_owner,
             col.table_name parent_table, col.column_name column_name
        FROM dba_cons_columns col, dba_constraints cons
       WHERE cons.r_owner = col.owner
         AND cons.r_constraint_name = col.constraint_name
         AND col.owner = 'MY_USER'
    ORDER BY child_table;Thanks,
    Shankar

  • How to increase the the max limit column in pivot view in BIEE 11G?

    Hi Experts,
    How to increase the the max limit column in pivot view in BIEE 11G?
    When the number of column exceed 256 in pivot view, it will generate the following error message as below:
    Exceeded configured maximum number of allowed output prompts, sections, rows, or columns.
    Error Details
    Error Codes: IRVLJWTA:OI2DL65P
    Location: saw.httpserver.processrequest, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
    SQL Issued: 13678~vid1ptgt0v5ubh39gesnauuhl6
    For example:
    ----------------Day
    Country-----20120101---20120102---..........20121231
    China--------10000---------20000----......

    Try increasing the Max Rows in Instanceconfig.xml
    Path:-Middleware\instances\instance1\bifoundation\OracleBIPresentationServices\instanceconfig.xml
    <ServerInstance>
    <Views>
    <Pivot>
    <MaxVisibleColumns>300</MaxVisibleColumns>
    <MaxVisiblePages>1000</MaxVisiblePages>
    <MaxVisibleRows>500</MaxVisibleRows>
    <MaxVisibleSections>25</MaxVisibleSections>
    <DefaultRowsDisplayed>30</DefaultRowsDisplayed>
    </Pivot>
    </Views>
    </ServerInstance>
    Try adding this in the config file and restart the services.
    Mark as correct if it is helpful.
    Thanks.

Maybe you are looking for

  • How to set the flexfield column in advanced table

    Dear All Dear Gaurav Good morning iis it posible to create a flexfield column in advanced table.I am trying it is showing some error...... Thanks& Regards Sreekanth

  • Adding jar file in my gerareted jar file using netbean 4.0

    Hi, I write an application de process XML file using JDOM. I add the JDom package jar file to my project and everything work fine. But when I generate, my project jar file using netbean 4.0, my generated jar, is not working with the XML files anymore

  • How can i modify a Character object?

    I know how to create it and initialize it, but I don't know the char's field name, so I can't use the . operator to modify it. Please help me! Thank you! Sprocket

  • Watching photos on tv via apple tv?

    Can I view my photos through my tv via the apple tv

  • Input Level Metering

    I'm new to Soundtrack Pro, but have 10+ years of experience with Logic. I am attempting to record simultaneous audio on multiple tracks, each to a monaural file. My dilemma is that input levels do not display on the channel strip meters during record