Help in copy command

Hi
Can i use parallel and append hint in while inserting data through copy command in sqlplus?
My databse version is
Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
PL/SQL Release 9.2.0.4.0 - Production
CORE 9.2.0.3.0 Production
TNS for IBM/AIX RISC System/6000: Version 9.2.0.4.0 - Production
NLSRTL Version 9.2.0.4.0 - Production
Thanks in advance.

Why don't you check this link ->
http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/apb.htm
Regards.
Satyaki De.

Similar Messages

  • Copy Command in ABAP report

    HI Gurus,
    I have a ABAP report - basic list, with lot of batch data on it. based on the report they will copy the batch numbers and paste in standard transactions.
    Users complaining to do a Ctrl + Y and then Ctrl + C then Ctrl + V to paste the batch numbers.
    Is there anything we can do programatically using hot sopt on batch numbers so we get the selected BATCH and execute copy command programatically when they click on BATCH number on basic list.
    All they need to do is Ctrl + V on standard transactions.
    Is there anyway to achieve this?
    Thanks Giri

    Giri - you would probably get more results if you mark this as a question. That way you can assign po1nts to helpful answers.
    In any event why don't you just do a CALL TRANSACTION when the user double clicks on a line?
    Rob

  • Copy command not working for Search Results

    Hello,
    We have a Search Form that triggers a  TREX URL search.  We also add a custom Layout Set on the search URL.  (see URL below)
    <b>URL Search:</b>
    http:
    <server name> &ConfigFileName=Navigation.xml&layoutSetMode=exclusive&ResourceListType=com.sapportals.wcm.SearchResultList&SearchType=ctrlpers&QueryString=*&rndLayoutSet=CustomLayoutSet&SelectedMatchesPerPage=15&SearchVisible=false
    In the custom Layout Set, we've made our own UI command group to include the following commands:  Search_from_here, details, copy, move etc…
    The problem is that whenever we click on the 'Copy'  or 'Move' command of a resource, we get the following error message:
    =====================================
    Item not found       
    The item you are attempting to access is not available. Check that the name or link is correct. You might also check whether the associated repository is currently accessible.     
    ======================================
    The error message in the KM log files simply states "ERROR: RID not found".
    Would anyone know how to fix this issue!  I've tried many layout sets, but the copy command always gives me the same error message!
    Any help or suggestions on this would be much appreciated...
    Thanks,
    Harman

    Hi Harman,
    yes, this is a known issue.
    It's fixed with NW04 SPS 13.
    Regards Matthias Röbig-Landau

  • Copy command in Sqlplus

    I am using 8.1.6 and 8.1.7, but the copy command does not seem to work on either cases, the sqlplus just crash, did you guys have the similar problem? Is it a bug in oracle or there is some parameter I need to set up correctly?
    Your help is highly appreciated.

    it works i tried
    null

  • Copy command in OEM

    Hi all,
    I have a "copy" command in batch file, I scheduled this batch file from OEM, it gave me an error that "Access Denied", I know that "copy" command won't work in this way after I did some research.
    Anyone have this problem before? if so how you make it work?
    or anyone know how to fix this?
    Thanks for your help!
    Floyd.

    You may have run into bug 1504702. As a workaround you will need to use command line, as you've already figured out. I don't think a patch is available for Windows yet, although there is for Solaris (in the 8.1.7.4 patch set).
    Alison

  • "Copy Command" will not close down

    I moved several files from one folder to another and a pop up window named "Copy" came up  with the text "Preparing to move to "EnvX14" underneath. The file transfer bar is completely filled But nothing happens (been like this for two days now). I tried clicking on the stop button but all that does is give you a sub message saying "Stopping...". Trying to "Force Quit" is of no help since whatever the "Copy" command is attempting to do it must be doing it in the background since it does not appear in the list generated by the "Force Quit Command". Anyone any idea what to do as I really do not want to force a shut down of my Mac Mini (i.e. Pressing and holding the On/Off Switch.

    Relaunch the Finder.

  • Copy command from JDBC

    Hi all,
    I am currently trying to use the copy command to copy data from a text file into a database table using JDBC. In my Java application I am attempting to execute the SQL copy node from 'node.txt' with Delimiter ' '; where node is the name of the table. After the SQL is executed the update count is 0.
    However, when I run the same command from the SQL console in pgAdmin (I am using the PostgreSQL database) the command works correctly and as expected. I don't understand what the problem is as the command is the exact same. Has anyone else has this problem or know how to fix it?
    Any help would be much appreciated.
    Thanks,
    Martin

    My JDBC code is below:
    Thanks.
    public void copyTableFrom(
              String tablename,
              String mode,
              String path //the "absolute" path of the file
              String qrystr = "copy " + tablename + " from \'" + path + "\' with Delimiter ' ';";
              this.db.nonQueryCmd(qrystr);
    public void nonQueryCmd(String cmd)
              try {
                   this.st = conn.createStatement();
                   this.closeStatement();
              } catch(SQLException sqle) {
                   System.err.println("error occurs when execute " + cmd);
                   sqle.printStackTrace();
                   this.exit_nicely();
    public void exit_nicely()
              this.disconnectDB();
              System.exit(1);
    public void disconnectDB()
              try {
                   this.conn.close();
              } catch (SQLException e) {
                   System.err.println("Closing connection to database " + dbname + " failed");
                   e.printStackTrace();
                   System.exit(1);
         }

  • Copy command for SQL*Plus

    Am trying to use the copy command in SQL*Plus to copy a table
    from an Oracle database to a local table on my machine in
    another format. Keep getting errors. It seems to contact the
    remote machine fine, but can't locate my local machine or figure
    out where to put it. Any suggestions on how to set up my
    Windows 95 machine to get the copy command working would be
    greatly appreciated. Thank you.
    null

    Hi,
    Here is an example :
    SQL> copy from scott/tiger@q4_production_server create ord -
    using select * from ord;Array fetch/bind size is 15. (arraysize is 15)
    Will commit when done. (copycommit is 0)
    Maximum long size is 80. (long is 80)
    Table ORD created.
    21 rows selected from scott@q4_production_server.
    21 rows inserted into ORD.
    21 rows committed into ORD at DEFAULT HOST connection.
    Hope this helps,
    Bala
    Laura Michaels (guest) wrote:
    : Am trying to use the copy command in SQL*Plus to copy a table
    : from an Oracle database to a local table on my machine in
    : another format. Keep getting errors. It seems to contact the
    : remote machine fine, but can't locate my local machine or
    figure
    : out where to put it. Any suggestions on how to set up my
    : Windows 95 machine to get the copy command working would be
    : greatly appreciated. Thank you.
    null

  • Oracle Copy command

    Hi,
    I was hoping someone might be able to help me out with a question/issue I have when using the copy command in SQLPlus. The scenario entails moving specific columns from a table in DB A to a new table in DB B (DB B is on a completely different server). When I use the copy from to create select command I am finding that the column sizes are being increased by a factor of 4. So in my source table I have a column which is VARCHAR2(15 CHAR), yet after the copy command is complete the target table has the same column as VARCHAR2(60 CHAR).
    Does anyone know how I can get copy to keep the column sizes the same? i.e. VARCHAR2(15 CHAR) in source, VARCHAR2(15 CHAR) at target.
    I have tried pre-creating the tables which the correct sizes and then using insert in the copy command, however it errors out when it thinks the size has been exceeded.
    Thanks in advance

    Hope this pastes ok:
    Target System:
    desc s_addr_per
    Name Null Type
    ROW_ID NOT NULL VARCHAR2(60 CHAR)
    CREATED NOT NULL DATE
    CREATED_BY NOT NULL VARCHAR2(60 CHAR)
    LAST_UPD NOT NULL DATE
    Source System:
    desc siebel.s_addr_per
    Name Null Type
    ROW_ID NOT NULL VARCHAR2(15 CHAR)
    CREATED NOT NULL DATE
    CREATED_BY NOT NULL VARCHAR2(15 CHAR)
    LAST_UPD NOT NULL DATE
    Note : this is a only the first couple of columns in the table

  • Problem with sqlplus copy command

    When I try to use the SQLPlus Copy command (with Append or Insert action) with a 8.1.7 source DB and a 9.2.0.4 destination DB, I receive the "CPY0006: Select list has more columns than destination table" error.
    The tables are identical in both DBs so I am confused.
    Just to make sure the tables were identical, I then used the Copy command with the Create option and used a new table name.
    That worked, however if I then try to use the Copy with an Insert or Append action against the table I just created, I get the error again.
    I am using SQLPlus 8.1.6.0.0
    Output from SQL*Plus:
    NTEG> SET COPYCOMMIT 40;
    NTEG> SET ARRAYSIZE 1000;
    NTEG> COPY FROM xxxxx/xxxxx@nteg -
    TO xxxxx/xxxxx@DEV -
    INSERT sysadm.PS_ANIMAL_TBL -
    USING select * FROM sysadm.PS_ANIMAL_TBLArray fetch/bind size is 1000. (arraysize is 1000)
    Will commit after every 40 array binds. (copycommit is 40)
    Maximum long size is 80. (long is 80)
    CPY0006: Select list has more columns than destination table
    Descr from both DBs
    NTEG> descr ps_animal_tbl
    Name
    ANIMAL_CD
    DESCR50
    DESCRSHORT
    DEV> descr ps_animal_tbl;
    Name
    ANIMAL_CD
    DESCR50
    DESCRSHORT

    SQL> help copy
    COPY
    COPY copies data from a query to a table in a local or remote
    database.
    COPY {FROM database | TO database | FROM database TO database}
    APPEND destination_table
    [(column, column, column, ...)] USING query
    where database has the following syntax:
    username[password]@connect_identifier
    SQL>
    Joel P�rez

  • Auto copy command for terminal?

    I want to make Safri history folder auto copy to the other folder as it gets new history. So I can monitor activities.

    Hi,
    Here is an example :
    SQL> copy from scott/tiger@q4_production_server create ord -
    using select * from ord;Array fetch/bind size is 15. (arraysize is 15)
    Will commit when done. (copycommit is 0)
    Maximum long size is 80. (long is 80)
    Table ORD created.
    21 rows selected from scott@q4_production_server.
    21 rows inserted into ORD.
    21 rows committed into ORD at DEFAULT HOST connection.
    Hope this helps,
    Bala
    Laura Michaels (guest) wrote:
    : Am trying to use the copy command in SQL*Plus to copy a table
    : from an Oracle database to a local table on my machine in
    : another format. Keep getting errors. It seems to contact the
    : remote machine fine, but can't locate my local machine or
    figure
    : out where to put it. Any suggestions on how to set up my
    : Windows 95 machine to get the copy command working would be
    : greatly appreciated. Thank you.
    null

  • Datatype problem while using copy command

    Hi all,
    I an using copy command to copy data
    SQL> copy from xyz/abc@xxx to aaa/sss@aaa create Table1(Name,duration) using select * from Table2The problme is in Table2 duration is like 4.5,but when after copying in Table1 it is coming as 4 .
    Could someone help me in fixing this ?
    rgds,
    Karna

    try not defining the columns first, the create will do that.
    copy from xyz/abc@xxx to aaa/sss@aaa create Table1 using select * from Table2
    I am assuming the table2 only contains the two columns.

  • Explorer crashes when giving the cut/copy command

    When i select multiple files the computer is ok but when i give the cut or copy command de computer freezes and then explorer crashes. after a while it restores but whith many taskbar programs closed and the folder i was browsing at the moment closed...
    In many other forums i find that this problem happens to more persons...
    I hope someone can help me

    if so, try: http://windowsxp.mvps.org/slowrightclick.htm (Method 2)
    you need to download this small program: ShellExView v1.14 - Shell Extensions Manager
    Copyright (c) 2003 - 2005 Nir Sofer from http://www.nirsoft.net/utils/shexview.html
    Markus.

  • Copy Command in Pl/Sql block

    Can I use Copy command in Pl/Sql.For example :-
    Declare
    cursor c1 is select table_name from all_tables
    where owner = 'LSP' and rownum = 1;
    v1 varchar2(2000);
    Begin
    for c2 in c1 loop
    v1:='copy from lsp/lsp123479@dvlaq to scott/[email protected] create '|| c2.table_name ||' using select * from '||c2.table_name;
    execute immediate v1;
    end loop;
    end;
    Its not running properly giving an error as invalid Sql statement .
    Is it bcoz Copy command cannot be used in a Pl/Sql Block.

    Is there any other way to move the Table & data to another Data Base .Database link is the obvious one. And the SQL statement would look something like this (on the target database):
    SQL> create table FOO nologging as select * from FOO@sourcedb;
    However, the first question I always ask if why? What one may think is the solution to a problem is not always the best solution. So one need to identify the problem first, and then see what solutions there are and which one is the best fit.
    Other options are replication (using materialised views for example), Data Pump (available with 10G) - even could be Data Guard, a standby database, or a Real Application Cluster... depending on just what the problem and actual requirements are.
    Also important to note that SQL*Plus has its own set of commands. Do not confuse these commands (like EXEC, COPY, CONNECT, HOST etc) with the SQL and PL/SQL Languages. Not only are they executed by different software products, SQL*Plus commands are executed on the client and SQL (and PL/SQL) runs inside the Oracle database instance.

  • Copy command in oracle

    hi how i can do this following in copy command-------------
    t1 t2
    id1 val1 id1 val1
    copy from user1/pass1@db1 to user2/pass2@db2 insert t2 using select *from t1
    now in my case i have some data in t2 in such a way that id1(tab2) and id1(tab1) are same but their value(here val1(tab2) and val1(tab1)) are different.
    as id1 is primary key in tab2 i cannot insert this matched values.
    now i want to do this checking in the copy command where tab1.id1<>tab2.id1

    hi
    Create DB link like
    CREATE DATABASE LINK local
    CONNECT TO hr IDENTIFIED BY hr
    USING 'local';
    Try to access or insert the rows in the remote table by using the following command
    insert into tab1 SELECT * FROM tab1@local where pkid not in ( select pkid from tab1);
    Regards
    Singh

Maybe you are looking for

  • ThinkPad USB 3.0 Dock - Prevents ThinkPad Twist (S230) from booting (Windows 8.1 Pro 64 bit)

    Hi, I upgraded to Win 8.1 tonight and found the ThinkPad Twist wouldn't boot at all when the USB 3 dock was plugged in. When it tried to reboot I just get a permanent blank screen. When I power down and do a cold boot, I get the ThinkPad welcome scre

  • Wet iphone

    HEllo , my iphone hone went for a hand wash spin. Totally devasted ! Plugged phone in after 4 days it's working but now I can't put SIM card in and close the tray. Seems like something's blocking it. What can I do? Will Apple help? how much would the

  • MIRO planned delivery cost and document reference

    Hi I create  a purchase order with one position including the planned delivery  with flag  Indicator: GR-Based Invoice Verification. OK I create the good receive with reference to purchase order: in Migo I update field xblnr Number of External Delive

  • How to use php variable for default tabbed panel

    I have a tabbed panel and with tabs labelled with the days of the week.  What I want to do is open up the tab that correspond to the current day.  I have been using the following to get the day in 3 char format: <?php $jd=cal_to_jd(CAL_GREGORIAN,date

  • Microsoft Messenger for Mac 8.0.1

    I cannot sign in to MS Messenger. It keeps telling me to retry, but Yahoo Messenger works just fine. Does anyone know why this is happening?