Error ORA-022887 during the insert operation how to handle correctly...

Hello everyone I got an error in during the insert operation how to handle correctly?
SQL statements below.

INSERT STAFF. TRANSLATIONS (TID, SCRIPT_NAME, TAG, TR, FR, LOCAL)
VALUES ((SELECT LOCATION. SQX_TID. (NEXTVAL DOUBLE AS TID), 'TEST_TEST', 'TEST', 'TR', 'FR', 'LOCAL');

Thank you

Try this,

INSERT STAFF. TRANSLATIONS (TID, SCRIPT_NAME, TAG, TR, FR, LOCAL)
VALUES (PERSONAL. SQX_TID. NEXTVAL, 'TEST_TEST', 'TEST', 'TR', 'FR', 'LOCAL');

Tags: Database

Similar Questions

  • Error ORA-01843 during the update of table

    I have the following query, which gives a month error invalid ORA-01843

    Update tpsir_response set response_date = to_date (' 04/02/2014 ',' dd/mm/yyyy') where product_line = 'PRODUCT' and to_date(vl_creation_date,'dd/mm/yyyy') < 13 May 2008 ' and responder is NULL;

    In the tpsir_response table

    response_date is a kind of date

    vl_creation_date is of type char (10)

    someone at - it an idea what I did wrong

    Hello

    Try to change on May 13, 2008 ' to to_date ('2008-05-13', ' dd/mm/yyyy')

    Or

    Check this box

    Select * from nls_session_parameters where parameter = "NLS_DATE_FORMAT;

    and together

    ALTER session set nls_date_format = "dd/mm/yyyy";

    Good luck...

  • How to solve the error ORA-00001 in SQL Insert?

    Hi all, I need your help appreciated.

    I do a plsql procedure that inserts a line according to the value of the slider, I have error oracle ORA-00001: unique constraint (constraint_name) violated.

    This message may appear if a duplicate entry exists at a different level: in the RDBMS MySQL, I have the syntax IGNORES to solve this error of duplication... and in Oracle?

    Thanks for your time and your advice.
    Miguelito

    user6317803 wrote:
    How to solve the error ORA-00001 in SQL Insert?

    ORA-00001 means table a unique/primary key / index and you attempt to insert a row with the key value already exists in the table. I'll assume table has a primary key on COUNTRY_ID. Then modify SQL for:

    SQL = "INSERT INTO COUNTRIES (COUNTRY_ID, COUNTRY_NAME, REGION_ID) SELECT"BZ","BLZ", 3 DOUBLE WHERE DOES NOT EXIST (SELECT 1 FROM COUNTRIES WHERE COUNTRY_ID ="BZ").

    There is a good chance COUNTRY table also has unique key/index on COUNTRY_NAME. If so use:

    SQL = "INSERT INTO COUNTRIES (COUNTRY_ID, COUNTRY_NAME, REGION_ID) SELECT"BZ","BLZ", 3 DOUBLE WHERE DOES NOT EXIST (SELECT 1 FROM COUNTRIES WHERE COUNTRY_ID = 'BZ' OR 'BLZ' = COUNTRY_NAME).

    SY.

  • 0xC1900101 - 0 x 20017 installation failed during SAFE_OS with an error during the START operation

    When you try to upgrade Windows 7 SP1 to Windows 10 ' 0xC1900101 - 0 x 20017 installation failed during SAFE_OS with an error during the START operation "is a problem recurring and none of the solutions posted for a Samsung RV511 work.

    When will there be a solution of Microsoft?

    Concerning

    Hello

    Since Windows 10 is a completely new operating system, the computer manufacturer might still not have designed and developed drivers for it. As suggested waiting for the manufacturer to release the necessary drivers for the hardware and then try the upgrade.

  • How can getting error Code U44M1P7 during the upgrade, I fix?

    How can getting error Code U44M1P7 during the upgrade, I fix?

    Update product that you are trying to install?

    Is it compared to the creative or perpetual clouds?

    Please check following if you have creative clouds.

    http://helpx.Adobe.com/Creative-Suite/KB/error-u44m1p7-installing-updates-CCM.html

  • Error ORA-600 on the Production Oracle Applications Instance

    Hello

    We get the error ORA-600 on the Instance of the Production Oracle Applications.

    Can any body suggest how to solve this problem.


    We got the error on 30 - Mar below... but the instance is up & running.

    Error as follows:
    ==========

    error occurred at the SQL level 1 recursive
    to "DMSYS. OLAPIHISTORYRETENTION', line 1
    [internal error code, arguments: [16206], [4294951254], [] [] [], [], []]
    internal error code, arguments: [16206], [4294951254]



    Thanks in advance for your help.

    Thank you
    Mudunuri Billon.

    What version of Oracle?

  • error code 1606 during the uninstallation of autocad and sewer storm

    error code 1606 during the uninstallation of autocad and sewer storm

    Hello

    I suggest you disable any autodesk / autocad related items from msconfig and see if that gets rid of the message.

    Click Start, type msconfig.

    To after the results, click on msconfig and click on the Services tab.

    I hope that helps!

  • Receive the error code 0x800700b7 during the Vista system restore

    Get the error code 0x800700b7 during the restoration of the system.
    "System restore failed due to an unspecified error. Cannot create a file when that file already exists. (0x800700b7).

    I have a Dell laptop, Studio, running on Vista.  I just installed some Windows updates (ALWAYS a hassle!) and restarted the system.  Failed to start,

    I tried:
    (7 times) Startup Repair
    System Restore (at least 7 times - try them different restore points to restore the system, going back to mid-May
    Trying to reboot without doing anything

    The error message persists.   I can't boot the system in safe mode, so I'm not able to disable the antivirus software or go to start or anything else.  Windows does not start. Y at - it a fix for this error message?
    Help!

    I managed to fix it on my own over the weekend. In Safe Mode, disabled Norton and also downloaded a tool that Norton offers to help solve the problems of this kind.  The tool worked and my laptop works fine now. The update of Java was the problem - I don't allow anything not my automatic update system, but Java auto-updated anti-virus Norton was on.

  • I get the error code 643 during the installation of the dates... I tried yesterday, some steps that have been put to me... they did not work... Please help

    I get the error code 643 during the installation of the dates... I tried yesterday, some steps that have been put to me... they did not work... Please help

    There are 2 updates will not install... Ive had this problem for the last 6 months

    See if this Microsoft Support will help you:

    http://support.Microsoft.com/kb/976982

    Note: there are 2 methods. If the August challenge it for me does not help, try a 2nd.

    Another article to number 643
    http://Windows.Microsoft.com/en-us/Windows7/Windows-Update-error-80070643

    .........................................................................................

    Take a look at this answer of MS Answers forums:

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-windows_update/what-is-error-code-643-Windows-vistaunable-to/4ab6dd4e-e9eb-4a0f-b822-ad976e2c33c6

  • ID package already in use, an error has occurred during the recording of output ' 1.1.0"to the database.

    Hello

    I currently have an application called "Apa Doanya' (id 33020976) for BB 7 and below. Now, I created another version of it for BB10. To publish this version BB10, I created a new application named also "Apa Doanya' (id 46317888), download the file bar, but not yet to introduce the new application for review. Later, I changed my mind, I want to release this BB10 version under the name of my current application so that I can keep the sides and the current download figures. So in my application, I added a new version, download the folder bar and increment the version 1.1.0. But I got an error when recording on step 5, he said:

    Package already in use ID
    An error has occurred during the recording of output ' 1.1.0"to the database.

    I tried several times but no luck. What has caused this? Is - it because I already download the bar file to another application (id 46317888)? Just to be sure, I remove bar app 46317888 file and download a dummy cod file (so that the application can be saved). Then repeat the previous step (add a new version and so on) but I still have the same error.

    Really appreciate any help.

    -Hammemi - D

    Hi erik,
    Thanks for reminding me

    Yes, the problem is now RESOLVED. It was, I think, a bug/error on their part (support of the seller) so they erased the package id (I quote: "the package ID has been deleted.").

    Thank you very much :-)

  • I'm trying to uninstall my adobe after effect on the Control Panel, but couldn't not. When I try to open the program the error 16 MESSAGE on the screen. How to uninstall?

    I'm trying to uninstall my adobe after effect on the Control Panel, but couldn't not. When I try to open the program the error 16 MESSAGE on the screen. How to uninstall?

    Reinstall it to restore your uninstall program.

  • I get an error code 205 during the installation

    I get the error code 205 during the installation?

    N ° 1)

    Click on the link below and open Photoshop Elements download link.

    Do not close the page, just keep it open.

    Download Photoshop Elements products | 10, 11, 12, 13

    Then click on the link below and download the installer directly mentioned in step 2.

    He's going to start directly from the installation process.

    Step 2)

    For Windows : http://trials2.adobe.com/AdobeProducts/KCCC/1/win32/ACCCx3_1_0_108.zip

    For Mac : http://trials2.adobe.com/AdobeProducts/KCCC/1/osx10/ACCCx3_1_0_108.dmg

    If you get an error message like "Download seems to be corruptd (-60)" during the installation of the CC apps in the applications menu,

    For now download by in below link:

    Direct download links of Adobe CC 2014: 2014 creative cloud release | ProDesignTools

    Reference:

    Error download or update Adobe Creative Cloud applications

  • ERROR "ora-01422" during insertion in the table?

    Hello

    I have created the dynamic action of PL/SQL to insert data but founded by page_item

    
    
     declare 
    x_found_pages number;
    x_auth_id number;
    x_user_id number;
     begin
     x_user_id := :P41_USR_ID; -- this is my page_item _____ successful run When change it to number value .. !
    
    
    
    
          select count(V_APP_PAGES.PAGE_ID) into x_found_pages
          from V_AUTH_DTL V_AUTH_DTL,V_APP_PAGES V_APP_PAGES 
          where V_AUTH_DTL.PAGE_ID!=V_APP_PAGES.PAGE_ID
          and  V_AUTH_DTL.USR_ID = x_user_id;
       
          select T_AUTH.ID into x_auth_id 
          from T_AUTH_DTL T_AUTH_DTL,T_AUTH T_AUTH 
          where T_AUTH_DTL.AUTH_ID=T_AUTH.ID
          and T_AUTH.USR_ID = x_user_id;
    
    
    -- Checking...? 
      if x_found_pages > 0 then
    
            for i in (select V_APP_PAGES.PAGE_ID
               from V_AUTH_DTL V_AUTH_DTL,V_APP_PAGES V_APP_PAGES 
               where V_AUTH_DTL.PAGE_ID!=V_APP_PAGES.PAGE_ID
               and  V_AUTH_DTL.USR_ID = x_user_id)
        
      loop
      insert into T_AUTH_DTL (AUTH_ID,PAGE_ID) values (x_auth_id,i.PAGE_ID);
      end loop;
    
        end if;
    
     end;
    
    
    
    

    Please help me to avoid the ERROR "ora-01422" when running code in the dynamic action...

    Thank you...

    AMR Abdeen wrote:

    I have created the dynamic action of PL/SQL to insert data but founded by page_item

    1. declare
    2. number of x_found_pages;
    3. number of x_auth_id;
    4. number of x_user_id;
    5. Start
    6. x_user_id: =: P41_USR_ID; -It is my page_item _ successfully performed when change to value the number...!
    7. SELECT count (V_APP_PAGES. Page_id) in x_found_pages
    8. of V_AUTH_DTL V_AUTH_DTL, V_APP_PAGES V_APP_PAGES
    9. where V_AUTH_DTL. PAGE_ID! = V_APP_PAGES. PAGE_ID
    10. and V_AUTH_DTL. USR_ID = x_user_id;
    11. Select T_AUTH.ID from x_auth_id
    12. of T_AUTH_DTL T_AUTH_DTL, T_AUTH T_AUTH
    13. where T_AUTH_DTL. AUTH_ID = T_AUTH.ID
    14. and T_AUTH. USR_ID = x_user_id;
    15. -Checking...?
    16. If x_found_pages > 0 then
    17. I'm in (select V_APP_PAGES. PAGE_ID
    18. of V_AUTH_DTL V_AUTH_DTL, V_APP_PAGES V_APP_PAGES
    19. where V_AUTH_DTL. PAGE_ID! = V_APP_PAGES. PAGE_ID
    20. and V_AUTH_DTL. USR_ID = x_user_id)
    21. loop
    22. insert into T_AUTH_DTL (AUTH_ID, PAGE_ID) values (x_auth_id, i.PAGE_ID);
    23. end loop;
    24. end if;
    25. end;

    Please help me to avoid the ERROR "ora-01422" when running code in the dynamic action...

    The error is explicit:

    ORA-01422: exact fetch returns more than number of lines

    Cause: The exact extraction specified number is less than the rows returned.

    Action: Rewrite the query or change the number of rows requested

    This would imply the query in line 16 as County dissociated in the previous one will always return only one row.

    Run

    select T_AUTH.ID into x_auth_id
    from T_AUTH_DTL T_AUTH_DTL,T_AUTH T_AUTH
    where T_AUTH_DTL.AUTH_ID=T_AUTH.ID
    and T_AUTH.USR_ID = :x_user_id
    

    in the workshop of SQL by using the P41_USR_ID value in the variable link to find out how many rows it returns.

    It is likely that the entire block can be replaced by a single INSERT statement. If you provide instructions CREATE TABLE, INSERT statements to create sample data and a clear definition of the requirements that we try to do.

    What is the point of the inclusion of tables aliases that are exactly the same as the names of the tables?

  • ORA-01427 during the attempt to INSERT SQL job

    Hello

    I have non-logiques problem.

    I use Oracle 10 g.
    I have a query that contains some subqueries, this is pretty normal query as similar milion:

    SELECT a.field1,
    (SELECT b.field2 FROM tab2 b WHERE b.key = a.key) Field2
    OF tab1 a

    Query works fine, amount of the returns expected Recordset, but while I'm saving it somehow it returns me an error:
    ORA - 01427:single - line subquery returns multiple rows

    It would be normal that I have by running a SELECT statement. But SOME major work - error occurs when I try to save the results somehow - INSERT, CREATE TABLE AS or save it to file.

    Help, please.
    Thank you.

    nodeX wrote:

    Query works fine, amount of the returns expected Recordset, but while I'm saving it somehow it returns me an error:
    ORA - 01427:single - line subquery returns multiple rows

    No it's not. Most likely you use SQL * Developer, Toad, SQL * Navigator or another GUI tool that retrieves the screen by screen lines. So when you run this select your tool retrieves and displays just the first screen and it happens so that for the first lines of the scalar subquery in your select screen returns just one line. However, when you issue INSERT SELECT all lines are read, and at least one of them, results in a scalar subquery returns more than one line. Do a complete test of your question, SELECT, SELECT your tool try and extract all lines (in most of the tools it's > button) or post your query in SQL * more. In all cases:

    SELECT a.field1,
    (SELECT b.field2 FROM tab2 b WHERE b.key = a.key) field2
    FROM tab1 a
    

    means the key of the column in the table tab2 is logically unique for any value of tab1.key.

    SY.

  • I get an error code 1935 during the installation of Companionlink software. How can I get this problem?

    The bed error message the following OS:

    Error 1935. An erroe has occurred during the installation of Assembly jacks.  {98CB24AD-52FB-DB5F-AO1F-C8B3B9A1E18E}.
    HRESULT: 0 X 80070424

    The machine is a device of Vista with 64-bit processor.

    Hello roninaz2,

    Thanks for posting on the Microsoft answers Forum.

    They are not on the list of the Windows Vista Compatibility Center. But since I'm not sure what you're trying to sync, I would suggest that you contact Companionlink.  They have software for different products and installation guides. Click here for a link to Companionlink support.

    Thank you, Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

Maybe you are looking for

  • How to solve the error update Firefox?

    12 MAR 14 0428 - I am running Firefox on XP SP3 10.0.2, but administrator users get this annoying message "the update could not be installed. Please make sure that there are no other copies of Firefox running on your computer and restart Firefox to t

  • Speakers do not work on Tecra 9000

    I have a Tecra 9000 and the problem is that I get perfect sound using headphones, but no sound from speakers. The cd player is dismounted. Anyone who can help me?

  • install the new graphics card

    I just bought the Skyrim game and want to play on an old PC.  I don't know what product I'm looking, maybe a new diet, but also a graphics card. Here are the details... hope this is enough information: HP Pavilion A6403W Windows XP Intel (R) Pentium

  • component the mobile phone number in the United States since the Skype app on my Android phone?

    I have a Skype Premium account, and I just downloaded Skype on my Android phone. Should I always have the same unlimited voice telephone services (for fixed and mobile phones) for my phone app, like I do on my computer? Or he charge me per minute if

  • VGA driver hp pavilion g6 2230tx (windows 7 32 bit)

    Can someone provide software driver required for HP Pavilion g6 2230TX for Windows 7 Ultimate 32 bit