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

Similar Messages

  • Strange problem with SQLPLUS when client and server on the same box

    Hi,
    I have the problem with SQLPLUS when clinet and server on the same machine.
    With client and server on the same machine i am running the command
    sqlplus -l username/password@connect_identifier as SYSDBA.
    With this command, even if you pass in wrong username or wrong password or both as wrong you can able to connect to database and execute queries.
    Once Connect_identifier is correct and trying to log in as SYSDBA ,sqlplus will log in to DB with any username and password.
    How to get rid of this behaviour. Is there any way to do this.
    I am running this command by creating a process in C#
    Edited by: user11000236 on Jun 16, 2009 10:31 AM

    user11000236 wrote:
    Thanks for the info.
    How does Oracle/SQLPLUS allows any username or password to log in to DB with SYSDBA Privillages? What is the concept behind this.?
    This is explainted in the above mentioned link:
    Operating system authentication takes precedence over password file authentication. If you meet the requirements for operating system authentication, then even if you use a password file, you will be authenticated by operating system authentication.

  • Problem with 'Edit Locally' command -- Due to IISProxy?

    Hi,
    We have a problem with 'Edit Locally' command since we are using Windows Authentication. Our architecture is:
    SAP EP 6.0 SP2 Patch 28 (Solaris)
    IIS Proxy (Windows 2003)
    The situation is:
    If we access to SAP Portal using old url (directly to Solaris) using form-based authentication we do not have any problem with 'edit locally' command.
    However, if we access to SAP Portal using IISProxy and Windows Authentication we get an 'Operation failed' error message.
         Java plug-in console shows the following message:
    cargar: clase com/sapportals/wcm/app/docapplet/DocApplet.class no encontrada.
    java.lang.ClassNotFoundException: com.sapportals.wcm.app.docapplet.DocApplet.class
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more
    Where is the problem? Is due to authentication method? SAP Portal or IISProxy configuration?
    Thanks,

    Thanks for your comment,
    Now, we have tested with version 1.5.0_01 plugin version but the result is the same: 'Operation failed'
    This is a very important topic to solve before installing Windows Authentication in a productive environment.
    Has anybody any solution?
    Damiá

  • Problems with the vba command sendkeys in Access 2013.

    Hi, I have problems with the vba command sendkeys in Access 2013.
    I use a text field (no control) in a form. By means of the VBA command SendKeys "+ {DELETE}", 1  I get the text in memory from the text field, then place (paste) the text in a Word document. The command line sendkeys
    is followed by moving the focus to a particular control. In Access 2003, which went smoothly. Now the sendkeys command is executed only in Access 2013 in the control that then receives focus. If the procedure ends with the sendkeys command then it works well.
    The procedure with the sendkeys command is activated by a button on a form.
    Who can help me?
    private user

    Hi H.Plmp,
    Based on the description, you want to call the sendkeys from a button.
    >> use a text field (no control) in a form. By means of the VBA command SendKeys "+ {DELETE}", 1  I get the text in memory from the text field<<
    What did you mean that you no control? And how did you get the text in memory from the text field? Also I am not able to understand the exact reason that the command doesn't works in Access 2013.
    And based on the test, sendkeys "+ {Delete}" works well for me when I set a focus for the textbox control. Here is th test code:
    Me.Controls("txtField1").SetFocus
    SendKeys "+ {DELETE}", 1
    If I misunderstood, please feel free to let me know.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Just installed Lion and the Magic TrackPad and I am having a problem with one click commands.  I have to hit the pad fairly hard with one finger to get it to accept the command.  Is this normal, is there another way that I am suppose to execute commands?

    Just installed Lion and the Magic TrackPad and I am having a problem with one click commands.  I have to hit the pad fairly hard with one finger to get it to accept the command.  Is this normal, is there another way that I am suppose to execute commands?

    No you just need to turn on Tap to Click. Go into System Preferences - Trackpad and click the Point to Click tab and select the first box which will say Tap to Click and you should be in business.

  • SQLPLUS COPY COMMAND and TIMESTAMPS

    I am copying data from production to a database warehouse. We had used insert into at one point but switched to the SQLPLUS COPY command as it increased our performance by almost over 50%. We recently added a table that has a TIMESTAMP. I understand this datatype isnt supported by COPY. Is there anything that I can use other than going back to the INSERT statement through a DB link?
    Thanks,
    Scott

    Hi,
    Just refer to Data Pump
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_overview.htm#sthref22

  • Problems with our copy of Adobe Acrobat 7 Professional.

    We have two problems with our copy of Adobe Acrobat proffesional which we have recently re installed back on the same PC following so we thought the relevant transfer activation instructions.
    The first is that when we first start the program with no file loaded Both Transfer Activation and Activate Acrobat are greyout out.   This in tiself is not a problem but it may have a bearing on our real problem.
    We have for a few years used Acrobat Proffesional successfully to sign released drawing files which have been 'printed' to a PDF file by a third party printer driver.   Recently though when we try to load any of this type of file the Acrobat menu stays greyed out and both Adobe Acrobat and the PDF file are listed in Windows task manager.  Acrobat is completely locked up and has to be exited via task manager.   If I load PDF files from other sources the abot symptoms accur only briefly then the program menus re activate and the PDF file disappears from task manager.  It is as thought our PDF drawing files are failing to complete loading.
    Does anyone know how I can find out if our copy of Adobe Acrobat Pro 7.0 is actually activated?
    Does anyone know what might have started to prevent out drawing files from loading.
    Thanks
    Chris

    Good point but this one does require activation.
    Our real issue is that if we load one of our own drawing filkes, even one previously edited or signed with no problems it now completely locks up Adobe acrobat and we cannot do anything at all in Acrobat.

  • Problem with FNDLOAD upload command for Concurrent Program

    Hi Apps Gurus,
    I am facing a peculiar problem with the FNDLOAD command.
    My customer has a concurrent program which is running fine in Prod, and now they have requeseted for a change in the program, the change requested was to modify the parameters and the name of the program. I have done the changes and when I try migrating this change from DEV instance to IAT using FNDLOAD commands it is not getting migrated. There does not seem to be any problem with the LDT file, There is no error message in the log as well.
    However I have noticed something very peculiar.* In the target instance (IAT) , when i run the FNDLOAD command directly the migration is unsuccessful but when i delete the existing parameters of the prog and rename the concurrent program and then run the FNDLOAD command the migration is sucessful and the changes are getting reflected!!. I dont understand why this is happening. This is happening in preprod as well , the migration is unsucessfull initially when i directly run the command, when i modify the name and parameters of the prog and then run the command the migration is sucessful. Now i do not have access to prod and this trick of changing prog name and parameters cannot be done in prod , so I need a proper solution for the migration.
    Any pointers to resolve this issue will be helpful.
    Thanks,
    Mahesh

    I am facing a peculiar problem with the FNDLOAD command.
    My customer has a concurrent program which is running fine in Prod, and now they have requeseted for a change in the program, the change requested was to modify the parameters and the name of the program. I have done the changes and when I try migrating this change from DEV instance to IAT using FNDLOAD commands it is not getting migrated. There does not seem to be any problem with the LDT file, There is no error message in the log as well.
    However I have noticed something very peculiar.* In the target instance (IAT) , when i run the FNDLOAD command directly the migration is unsuccessful but when i delete the existing parameters of the prog and rename the concurrent program and then run the FNDLOAD command the migration is sucessful and the changes are getting reflected!!. I dont understand why this is happening. This is happening in preprod as well , the migration is unsucessfull initially when i directly run the command, when i modify the name and parameters of the prog and then run the command the migration is sucessful. Now i do not have access to prod and this trick of changing prog name and parameters cannot be done in prod , so I need a proper solution for the migration.
    Any pointers to resolve this issue will be helpful.What are the commands you used for the download/upload?
    Do you get any errors in the log files?
    Please see (FNDLOAD Download / Upload Concurrent Programs Fails To Load Parameters [ID 1101946.1]).
    Thanks,
    Hussein

  • Photoshop CS 4 Print problem with Canon copiers via IP

    Try to print from Photoshop CS 4 to two Canon color copiers and we get this error message, "Before you can perform printer-related tasks such as page setup or printing a document, you need to install a printer"
    Fifteen Macs:
    Mac Pro towers, MacBook Pro, PowerMac G5 towers, iMac Intel, PowerBook G4. Many of each.
    Mac OS 10.5.7 or .8  and one Mac with 10.4.11 just to eliminate the 10.5 question.
    Canon Color Copier iPR Server, Canon Color Copier iR C3220, HP LaserJet 5000, HP LaserJet Color 5550 and ColorBurst RIP to an Epson Stylus Pro 9800.
    Adobe CS3 Design Standard & Premium, Office 2004, Safari, Firefox Entourage and Filemaker Pro 9.
    All the above Macs and applications can print to all printers with no issues.
    Installed Adobe CS4 Standard & Premium on the Mac Pro towers, MacBook Pro, PowerMac G5 towers.
    Photoshop CS4 will not print to the two Canon copiers. It will print to the other printers. Photoshop CS3 on these same Macs WILL print to the Canon copiers. All the other apps will print to the Canon copiers.
    Adobe has a tech note on this, ID KB409119 did not help.
    Deleted all prefs, created new users, deleted and reinstalled Adobe CS4, deleted all printers, downloaded latest drivers and installed printers fresh.
    None of this worked. Not to mention this problem is different from that tech note because Photoshop CS 4 will print just fine to the other HP printers.
    Tried setting up the one Canon Color Copier iPR Server using Appletalk. That worked.
    Why is there a problem with Photoshop CS4 and Canon IP printers?
    Just to recap for you all that just skim thru this:
    All Macs did this at once. So no fluke corrupt file, plus all the other apps print just fine to these printers. Adobe has problems with CS4.

    Try running a reset printing system. Open System Preferences > Print & Fax. Then hold down the Control key and click your mouse in the Printers list. A menu showing Reset printing system should appear. Click this.
    Now restart your Mac and then add the Canon driver again. Hopefully this gets things working for you again.
    PaHu

  • Sqlplus copy command

    Am trying to use copy command (copy data from table in old db to table in new db); am coming up with ERROR:
    ORA--3929306: Message -3929306 not found; product=RDBMS; facility=ORA and I cannot find any information on this error. The search function in this forum wasn't working either...

    can you tell the syntax you are using ?

  • SQLplus COPY command and datatypes

    I have a view, schema1.myview:
    col1 VARCHAR2(10),
    col2 VARCHAR2(10),
    col3 NUMBER,
    col4 VARCHAR2(10)Then, using SQLplus, connected as schema2:
    COPY FROM schema1/password@mydb REPLACE myview USING SELECT * FROM myviewThe resulting table schema2.myview:
    col1 VARCHAR2(10),
    col2 VARCHAR2(10),
    col3 INTEGER,
    col4 VARCHAR2(10)Col3 has been converted from NUMBER to INTEGER and I'm losing precision. My goal is to copy this data from one schema to the other; SQLplus's COPY command seemed easy but I'm open to other possibilities that can be easily scripted.

    Thank you for your response, Sundar.
    I may try enumerating the columns at a future time, but doing so in a script is awkward, especially if source views and tables and their columns change.
    I'm not sure if a database link is what I'm wanting, as both source and target are in the same database.
    I had considered synonyms, but I don't seem to have the necessary permissions to do so.

  • Problem with unix "foreach" command

    Hi,
    I am facing a problem with unix command "foreach". I trying to process files using unix foreach command. When running the script with 500 or 1000 files. It is running fine. But when I am trying to the script with 2000+ files. Its throwing an error "Arguments too long".
    below is the syntax I am using in the script:
    foreach name (*)
    end
    Could anybody help me on this issue.
    Thanks in Advance.
    Manasa.

    UNIX/Linux systems expand wildcards onto the command line before invoking the
    individual commands. In effect, the shell rewrites the command line you give
    substituting the wildcard expansion. There is a limit to how long this command
    line can get.
    For example, suppose you have two files ("foo" and "bar") in your directory.
    The line:
    foreach name (*)
      echo $name
    endgets rewritten to:
    foreach name (foo bar)
      echo $name
    endand then the shell starts interpreting your script. So if you have many, many
    files, the rewritten line becomes:
    foreach name (f1 f2 f3 ... f10927)
      echo $name
    endso chances are the "foreach" line simply gets too long. To avoid problems do
    it this way; it avoids any problems based on how many files you have:
    ls | while read name
    do
      echo $name
    doneThis way the shell never exceeds its line length limitations because the
    wildcard is never expanded.
    Cheers

  • Problem with Put Key Command

    Hi everyone
    I'm woking on Gem Xpresso card which support scp 02.
    I can Authenticate successfully and Install and load my applet on it. but I have problem in put key command.
    my first key set is:
    47454d5850524553534f53414d504c45
    and this is the key that I want to set as my new key:
    404142434445464748494a4b4c4d4e4f
    with the algorithm that I use the encrypt value of this key will be :
    33173C8ECDA55BDF7E50625531BE4FC5
    and its check value will be :
    8BAF47
    so this is the APDU that I send for Put Key command:
    80D800814301811033173C8ECDA55BDF7E50625531BE4FC5038BAF47811033173C8ECDA55BDF7E50625531BE4FC5038BAF47811033173C8ECDA55BDF7E50625531BE4FC5038BAF47
    but I recieve error 94 85 (invalid check value)
    do I calculate my check value wrong?
    does different versions of jcdk or different versions of globalplatform hav different ways for calculating check value and keys encrypted values?
    I'll appreciate any help
    Best Regards,
    Shilan

    Try visit Gemplus forum or mailing-list.

  • License key problems with database copy

    Hi all - we are refreshing ECC 6.0 QA/Test system with a database copy from our DR system that is replicated from production with MIMIX. Problem with license key is that in SLICENSE the system number is from the DR system, but the QA system should have a different system number. When I go out to OSS, the existing license doesn't work because system number doesn't match what is in system data for QA system.  We recently upgraded to ECC 6.0 from 4.6C and didn't have this problem before.
    TIA,
    -Margie

    Hi again - finally figured it out, it's the difference between Old License and New License. We got an old license to install.
    Regards,
    -Margie

  • Problems with file copying/moving

    Hi!
    I've got 2x 120GB Maxtors in SATA0 RAID configuration, and one WD 100GB on the IDE bus. Now my problem is, that I can copy files with no errors, but if I do a Cut 'n paste, the file is either corrupted or cannot be read???
    I have no idea how to fix this nor where to begin, I was thinking of doing a complete reformating of the drive to see if this would fix it, also CHKDSK does not uncover any faults with the disk(s).
    Is it a driver problem/BIOS problem??
    Running the latest off. BIOS of 1.4
    [EDIT]
    The drives are connected to SATA 3&4, also the files cannot be deleted afterwards if I perform the Cut 'n paste :( So they are just sitting there using space...
    However this problem is not there on the IDE drive?? I can cut'n'paste just fine. Also if I cut'n'paste from the SATA RAID to the IDE drive, it goes fine, so it seems when I cut'n'paste from one place on the array to another on the array, that it goes wrong
    [/EDIT]
    Thanks
    Denis

    If you have divx installed on your system unistall it then update the program. Check this link out for the details.
    http://support.divx.com/cgi-bin/divx.cfg/php/enduser/std_adp.php?p_sid=McNYRXoh&p_lva=&p_faqid=731&p_created=1088207940&p_sp=cF9zcmNoPSZwX2dyaWRzb3J0PSZwX3Jvd19jbnQ9MTk0JnBfcGFnZT0x&p_li=
    This is a nasty problem with XP SP2 and divx.

Maybe you are looking for

  • Adobe Photoshop Elements 11

    I recently purchased and downloaded Adobe Photoshop Elements 11 and I notice that 2 folders were created in My Documents, as follows: Folder No. 1 - Adobe Photoshop Elements 11 - 1.87GB, 163 files, 52 Folders Folder No. 2 - Photoshop Elements 11 - 1.

  • Somehow i have got mackeeper and the smartsearchnet on mac air. I do not know how to get rid of it! please help me

    I have got mackeeper and smart search.net on my Mac air. I am new to mac's so i am so lost in how to get rid of things. Im not sure how i got it but i just want it gone now   mac book is only a couple months old so running all latest programmes on it

  • Color correction with .mts files

    Hi,I´m editing .mts files in premiere pro, but I want to do the color correction in a diferent program, but since must of the programs don´t support mts files, what would you recomend? after that, I want to get back to premiere to finish my worflow,

  • Issue with EAN/UPC field in "BAPI_MATERIAL_SAVEDATA"

    Hello guys, I have a requirement where I am using the BAPI_MATERIAL_SAVEDATA to create a new material by using a reference material. The question is how can i pass EAN/UPC field into it? This field exists in Basic Data1 tab in MM01 screens. I am not

  • How to take advantage of parallel SQL select?

    Is it possible to take advantage of a parallel SQL select by specifying computations over the constituent subsets before they are consolidated? For example, suppose I have a very large table of sales employees, and I want to generate a sales report f