Copy command issue

i have a table temp1 and temp both at different database.both have same structure.
if i fire sqlplus d/e@f then i connect to one database
and sqlplus a/b@c then i connect to other database.
now i connected to sqlplus a/b@c.
i fired the command :
copy from d/e@f to a/b@c insert temp1 using select * from temp;
this is giving me error:
Array fetch/bind size is 15. (arraysize is 15)
Will commit when done. (copycommit is 0)
Maximum long size is 80. (long is 80)
ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified
Thanks

I don't see any issue with your statement. Please check the tns configuration.
Hope this link will help you: http://ora-12154.ora-code.com/

Similar Messages

  • 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

  • GPF in SQL*PLUS Copy Command?

    Hello,
    I'm getting a GPF and crash of SQL*Plus when I use the copy command. Seems like I used to be able to make it work if I tried logging on to the source database before the copy, but now even that won't work. I issue the command, it looks out over the modem for the remote database, then the GPF occurs.
    copy from me/[email protected] to me/me@LocalDB -
    insert ARRG_BNDRY_OBJECT -
    using -
    SELECT * FROM ARRG_BNDRY_OBJECT WHERE ARRG_BNDRY_KEY IN -
    (80169);
    Ideas?
    Thanks,
    Dale

    You might also want to try the same command using SQL*Plus command line (DOS version). If you haven't used it before, enter SQLPLUS at the command prompt, eg:
    c:\sqlplus
    Alison

  • COPY command not working SQL Commands editor

    Hi All,
    I want to have a simple 'one-button-solution' for copying few tables from an external DB into the database where my Apex application is running.
    When I issue the following from the sqlplus command line I get the following output:
    SQL> COPY FROM schema/password@tnsnames_sid TO schema/password@tnsnames_sid REPLACE TABLE_TEST USING select * from TABLE_FOREIGN;
    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 TABLE_TEST dropped.
    Table TABLE_TEST created.
    2 rows selected from schema@tnsnames_sid.
    2 rows inserted into TABLE_TEST.
    2 rows committed into TABLE_TEST at schema@tnsnames_sid.
    SQL>
    However, if I try exactly the same command from within the Apex 'SQL Commands' editor, I get the following error message:
    ORA-00900: invalid SQL statement
    NOTE that the reason I use COPY command is to overcome problems with LONG datatype which arise when doing simply CREATE TABLE AS.... with dblink.
    In anycase, how can I make this work from within the 'SQL Commands' editor (and therefore in a button process).
    Regards,
    Pawel.

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

  • 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

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

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

    What is the Copy Command in SQL ?

    COPY Command is used to COPY database table from one Schema to another Schema.

  • COPY command in SQL*Plus 8.1.6 returns ORA-65535

    The COPY command in the windows version of SqlPlus (SQLPLUSW) does not work any more. I get the following error
    << Array fetch/bind size is 5. (arraysize is 5)
    Will commit after every array bind. (copycommit is 1)
    Maximum long size is 80. (long is 80)
    ERROR:
    ORA-65535: Message 65535 not found; product=RDBMS; facility=ORA >>
    Interestingly, I can run the same COPY command successfully if I use SQLPLUS.exe ( the command line version ). No error & it completes the copy.
    I recently changed my Oracle client from 7.3 to v8.1.6.
    I had not encountered this problem with the same command in v7.3.

    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

  • Can anyone help with Double Command issues. This a specific keyboard question and they do not seem to know.

    Before I go into a lengthy explanation of the problem: Can anyone help with Double Command issues. This a specific keyboard question and they do not seem to know.
    Thanks much.
    Emile

    Choose Force Quit from the Apple menu and close Mail from there.
    (103661)

  • How to configure host copy command inside EM Console

    hi,
    I want to copy a file from one server to my production server. i found that through host copy command its is possiable in command prompt.but when i configure host copy command inside em console it is not working. i am getting following error
    ORA-06550: line ORA-06550: line 3, column 6: PLS-00103: Encountered the symbol "COPY" when expecting one of the following: := . ( @ % ; , column :
    Any solution for this
    Edited by: mithun on Jun 16, 2011 2:36 AM

    mithun wrote:
    hi,
    I want to copy a file from one server to my production server. i found that through host copy command its is possiable in command prompt.but when i configure host copy command inside em console it is not working. i am getting following error
    ORA-06550: line ORA-06550: line 3, column 6: PLS-00103: Encountered the symbol "COPY" when expecting one of the following: := . ( @ % ; , column :
    Any solution for this
    Edited by: mithun on Jun 16, 2011 2:36 AMThis makes no sense whatsoever.
    Now, as for your original question, there is not "host copy" command. Not in sqlpus, not in em.
    What you are doing in sqlplus is the sqlplus command "host". That is a sqlplus command, documented in the SQLPlus Reference. The sqlplus command "host" takes an argument of an os command (in your case, the OS command is "copy") and creates a sub-process to ask the os to execute that command.
    I can't even imagine what you are referring to when you say "when i configure host copy command inside em console". Can you explain in more detail?

  • Oracle9i Host and Text_IO Command Issues

    We are currently attempting to migrate from Forms6i to Oracle9i Forms. I understand that the current Host and Text_IO commands execute on the application server tier and NOT on the client. To counter the Host command issue the migration documentation suggests using the 'Client Host Command PJC' demo which can be incorporated into a form. However, the only Host command that seems to respond is the 'Notepad' command. I need to use other Host commands. Has anyone actually used the aforementioned 'Client Host PJC' in an Oracle9i form?
    Also, I am aware of a utility being developed by Oracle called 'WebUtil' which is suppose to simplify this process. Any idea when this utility will be launched and made available to developers? Thanks in advance for your help.

    Hello:
    Robin Zimmermann, [email protected] g feng and every one:
    I want to integrate a third party report (it is brio's sqr), so i must run sqr from form with host command.
    first i install 9i as on window 2000,sqr .manually run sqr on 2000,then call sqr from form
    with host command ,it is just work well.then i use web.showdocument push the report to end-user,my goal has get
    But when i do the same on aix 5l,host command seems not response .i can only run this command:
    echo hello &gt; /tmp/hello.log.
    other system command ,such as " chmod 777 /tmp/hello.log " can't execute ,who can help me or some other ideas?
    lixz

Maybe you are looking for

  • Facing the error in DSO.

    Hi Experts,   I am getting error in standard DSO while activating the active data facing the error like below. please let me know if you have any one idea about this error. thanks, kavya.

  • To limit the access of PM data based on the Company Code, Plant & Location

    Hi Experts,          I have a requirement . Customer wants to Restrict the access of PM data for a user based on the company code, Plant & Location. Say user : XYZ Plant :1000 CCODE:1000 Location:0001 So you can see data of only this Organisation str

  • SSRS HTML Page Size, in KB

    I am trying to create a solution for an area of the world with very low bandwidth and trying to determine what the size in KB an average page request will be. I tried looking online to figure this out but I am unable to find a reference.  A range is

  • Pa30 create external url link ( mass opload

    Has anyone been able to upload multiple attachments from a spread sheet to this transaction. Obviously using the function upload. I think the function module that I will need to use is called BDS_BUSINESS_DOCUMENT_CREA_URL. I have passed the followin

  • Why did apple remove the 3G toggle from the 4S ?

    Some people need this feature. Can we get it back ?