Error when I try to insert records ORA-01008:

Hello

Im trying to insert records from parameters with an immediate execution but idk what to try more so I ask for help, that's my statement inside the procedure:

vSQL: = Q'{INSERT IN TESTQ

(status, info, dt_entg, cd_prod, cd_fisc, cd_fabr, nm_fabr, cd_bar, cd_dist, nm_dist, cd_dist_ext, nm_dist_ext, nm_prod, cor, Manu, mater, prc_htec, peso, prc_tbl, st, custo_st, prc_cust, desc_prd, desc_esp, real, ideal, lc_v_p, estq)

VALUES

(: V_STATUS,: V_INFO,: V_DT_ENTG,: V_CD_PROD,: V_CD_FISC,: V_CD_FABR,: V_NM_FABR,: V_CD_BAR,: V_CD_DIST,: V_NM_DIST,: V_CD_DIST_EXT,: V_NM_DIST_EXT,: V_NM_PROD,: V_COR,: V_TAMN,: V_MATER,: V_PRC_HTEC,: V_PESO,: V_PRC_TBL,: V_ST,: V_CUSTO_ST,: V_PRC_CUST) (: V_DESC_PRD,: V_DESC_ESP,: V_REAL,: V_IDEAL,: V_LC_V_P,: V_ESTQ)}';

EXECUTE IMMEDIATE vSQL;

and returns this error ORA-01008:

I already check the columns with the settings 29 even ive tried to use simple variable as 'V_CD_FABR' tried to use like this ": V_CD_FABR" im receives the value of a parameter in a procedure and by putting this value into a variable after attempts to insert the value of the variable.

Thank you all!

You must use the keyword

execute immediate vsql using v_statu, v_info;

Link: IMMEDIATE statement EXECUTION

Tags: Database

Similar Questions

  • Gears - error when you try to insert values into a table with multiple columns

    Hello

    I started playing with the gears and SQlLite today and I get an error when I try to insert values into a table with multiple columns.

    I have:

    var db = google.gears.factory.create('beta.database');
        db.open('developerSet');
        db.execute('create table if not exists Developers (DeveloperName text, DeveloperAge int)');
    
        var devName = "Davy"
        var devAge = 32;
    
        try {
            db.execute('insert into Developers values (?, ?)', [devName, devAge]);
            alert('success');
        }
        catch (e) {
            alert(e);
        }
    

    I get the error:

    net.rim.device.api.database.DatabaseException; insert into developers values (?,?): SQL logic error or missing database.

    I use this reference: http://code.google.com/apis/gears/api_database.html

    Everything works if I have only one field as:

    var db = google.gears.factory.create('beta.database');
        db.open('developerSet');
        db.execute('create table if not exists Developers (DeveloperName text)');
    
        var devName = "Davy"
        var devAge = 32;
    
        try {
            db.execute('insert into Developers values (?)', [devName]);
            alert('success');
        }
        catch (e) {
            alert(e);
        }
    

    I use the plug-in Visual Studio 2.0 for 2008 that are running Windows XP SP and Simulator 2.13.0.56

    Thank you

    Davy

    Yes, a SQLite database will persist between battery pulls.  The database is registered either to internal MEM or removable media (not the device memory), depending on which is available on your device.

    In general, its not considered a best practice to remove your table as soon as it is empty and re - create it again when you want to add data.  This adds extra overhead fresh for the final, delete and insert first for a given table.  Instead, define and finalize your drawing before you create your table.  Once created, review the static schema.

    That being said, for development purposes, it may be easier to provide an easy way to drop your tables while you develop your schema.

    See you soon,.

    Adam

  • Error when you try to insert the bitmap file

    Hello!

    I have a problem with the symbol editor in Multisim 11.  When I try to insert a bitmap the entire program crashes.

    I would like to have the symbol Opamp in multisim. See: http://commons.wikimedia.org/wiki/File:Normsymbol_OPV.svg

    How can I do this?

    Thank you!

    mikcon

    Hi Mikcon,

    I have install Multisim 11.0 take your symbol and resize it and saved as a bitmap.

    Then I opened the component wizard and try to create a new component with your symbol of OPV and everything works fine without errors or accidents.

    Here some screenshots for you:

    So most likely your Multisim Installation is corrupted.

    Please try to repair your Multisim and again test this issue.

    Kind regards
    Oleg Scherling, mengg | Engineering applications. National Instruments | NIG. |

  • "Not a widget valid" error when you try to insert the widget

    I am trying to create a widget to display a text box with a scroll bar. I use 5 Captivate and Flash CS5 for Mac. I created the file .swf widget and it works fine when I open it in Flash Player. However, I get the error, 'not a widget valid' when using Insert > Widget.

    So then in Captivate, I tried file > new > Widget in Flash. Then I chose static widget (and AS 3.0 was the only option under Actionscript). I hit 'OK' and then open Flash. If I immediately save the file and publish the .swf and try to insert > Widget of in Captivate, I don't get 'a valid widget' again.

    Maybe I have the publication settings in Flash set correctly? It is hard to believe that I started the widget of in Captivate!

    Hope someone has an idea.

    Thank you

    Hello

    You can create a widget via the captiate, new project > Widget in Flash, workflow and share this fla file, so that we can check the issue?

    You can send to my address [email protected]

    Thank you

    Jean Claude.

  • Error when you try to select record...

    Hi, when I try to select it, and then I got the following error: http://my.jetscreenshot.com/2677/20101001-8e07-90kb

    Can someone explain who and what to do?

    Best regards, Debuger!

    There are other threads about similar issues. Look carefully one, I hope that the answer is here: http://forums.oracle.com/forums/thread.jspa?messageID=4594478 http://forums.oracle.com/forums/thread.jspa?messageID=4438827 http://forums.oracle.com/forums/thread.jspa?messageID=4403360 edited by: Dimitar Dimitrov on October 1st, 2010 15:08

  • Why I get an ORA-04052 error when I try to compile a procedure?

    Hello
    The following procedure I get an ORA-04052 error when I try to compile the following procedure.
    CREATE OR REPLACE PROCEDURE APPS.Find_String (
     pin_referenced_name IN dba_dependencies.referenced_name%TYPE) 
    
    IS
    
    cursor cur_get_dependancy
    is
    SELECT distinct owner, name, type 
      FROM [email protected]        -- prod.world 
     WHERE lower(referenced_name) = lower(pin_referenced_name) --'ftbv_salesrep_all_1d' 
       AND referenced_type <> 'SYNONYM'
       AND owner <> 'SYS'
     order by name;
     
    v_owner  varchar2(40);
    v_name   varchar2(50);
    v_type   varchar2(40);
     
     
        BEGIN
    
           dbms_output.put_line(upper(pin_referenced_name)||' is found in the following objects.');
           dbms_output.put_line(' ');
           dbms_output.put_line(RPAD('OWNER', 30, ' ')||RPAD('NAME', 60, ' ')||RPAD('OBJECT TYPE', 30, ' '));
           dbms_output.put_line('-------------------------------------------------------------------------------------------------------------------');
    
            FOR i IN cur_get_dependancy
            LOOP
                v_owner := RPAD(i.owner, 30, ' ');
                v_name  := RPAD(i.name, 45, ' ');
                v_type  := RPAD(i.type, 30, ' ');
                
               
                dbms_output.put_line(v_owner ||v_name|| v_type);
    
            END LOOP;
    
    END find_string;
    I use the [email protected] link. Commented compiles it procedure for other links of database used in the cursor, including the one to the right of the code 'prod.world '.

    What is even more strange is that I took the SELECT statement
    SELECT distinct owner, name, type 
      FROM [email protected]        -- prod.world 
     WHERE lower(referenced_name) = lower(pin_referenced_name) --'ftbv_salesrep_all_1d' 
       AND referenced_type <> 'SYNONYM'
       AND owner <> 'SYS'
     order by name;
    the procedure and he ran on the command line by using the link to @pinp.world, the SQL statement is fine. But when I tried to compile the procedure above to this exact same SQL query with the same exact link I get the following string of errors.
    ORA-04052: error occurred when looking up remote object [email protected]
    ORA-00604: error occurred at recursive SQL level 1
    ORA-02068: following severe error from PINP
    ORA-03113: end-of-file on communication channel
    How the link can work very well in a regular SQL but then cause an error when its code compiled in that otherwise compile correctly when you use any link, or even just a simple database. Does anyone have any suggestions?

    Hello

    Good thounght, but no, there is no privilege SELECT ANY VIEW; SELECT ANY TABLE includes views and materilaized.

    I suspect that the problem is something specific to the data dictionary. I have just connected as SYS and granted SELECT ANY TABLE to another user with minimum privileges, X. X, ALL_VIEWS included so all views dba_, including the dba_dependencies. However, X was still unable to dba_dependencies the query either in SQL * more or PL/SQL.

  • Why do I Recorder error, file error when I try to save my HDV from my Sony FX1000 on my Mac Pro using OSX

    I thought this would be an easy task, connect the camcorder by an iLink cable Firewire 800 and bingo game and record... This is not the case... I get this error when I press on the record. Am I doing something wrong or have a wrong setting?

    Two things to check:

    (1) in the Capture window, click the three bars next to Capture and make sure your Capture settings are HDV:

    (2) make sure that On YOUR CAMERA , you have the menu set so that the camera is not down-conversion of HDV DV I.Link port.

    Some cameras default to this setting. You may need to check your owner's manual to find this setting.

    If this is the case, Premiere Pro will see a digital video device and not to the HDV device that it is research.

    MtD

  • Error when you try to use FND_STANDARD. SET_WHO

    Hi all
    I'm new to the development of forms. I am tempted to write a form application to update a custom table in our database of EBS. In a before INSERT trigger, I have the following code:

    BEGIN
    FND_STANDARD. SET_WHO;

    SELECT seq_name. NEXTVAL
    IN: block.item
    FROM DUAL;
    END;


    When I try to insert a new record in the form, I get the following message is displayed:

    FRM-40735: prior INSERTION trigger raised unhandled exception ORA-06508.




    The table I am trying to update includes the following which columns:

    NUMBER OF CREATED_BY (15)
    CREATION_DATE DATE
    NUMBER OF LAST_UPDATED_BY (15)
    DATE OF LAST_UPDATE_DATE
    LAST_UPDATE_LOGIN VARCHAR2 (15 bytes)

    In my forms application, I have the following libraries attached:

    GREEN
    GLOBE
    I
    FNDSQF
    JA
    JL
    PQH_GEN
    VERT1
    VERT2
    VERT3
    VERT4
    VERT5

    I use Forms 6i.

    Does anyone have a solution for this problem?

    Any help would be greatly appreciated.

    Thank you.

    Hello

    I did not base my form on MODEL. FMB.

    Is it important that I start with the MODEL. WBF at the beginning of a new form?

    Yes - Please see the following documents.

    Note: 236803.1 - TEMPLATE.fmb opening error in forms Builder
    Note: 427879.1 - how to customize and compile an Application form (FMB) or library (PLL) seeds?

    Are there other libraries in addition to those listed in the original investigation that must be fixed.

    When I try to open the TEMPLATE. FMB, I get the following errors:

    FRM-18108: unable to load the following items.

    Source module: APPSTAND Source object: STANDARD_PC_AND_VA
    Source module: APPSTAND Source object: STANDARD_TOOLBAR
    Source module: APPSTAND Source object: STANDARD_CALENDAR

    AND

    FRM-10102: Impossible to attach the GREEN of PL/SQL library. This accessory of library will be lost if the module is registered.
    FRM-10102: Impossible to attach PL/SQL libarary GHR. This accessory of library will be lost if the form is saved.

    I have both these libraries on my local machine where I develop the form and they are in the path of forms.

    I have not yet tried to run this form on the server. I'm still developing top locally.

    Thanks for your help.

    Follow these steps:

    -Copy all the files of pll, TEMPLATE.fmb & APPSTAND.fmb of $AU_TOP/resources on your local computer (C:\ABC)
    -Add (C:\ABC) to FORMS60_PATH in the registry
    Open/Close Forms Builder
    -Open the form

    Note: 236803.1 - TEMPLATE.fmb opening error in forms Builder

    Kind regards
    Hussein

  • When you try to insert a digital signature, it does not accept the password, I just reset.  How can I get include the signature?

    When you try to insert a digital signature, it does not accept the password I just reset for Adobe and will not let me. How can I determine what the password, it's who will give me access to insert the signature?

    Hello

    What is the error you get after inserting the password. Although there is no way to recover the password.

    You can simply create a new digital ID with a new password.

    Concerning

    Sukrit diallo

  • 183 error when I try to use the system update

    I keep receiveing 183 error when I try to update system, I uninstalled it and shows the same error and the wont let me download it.


  • Qosmio G45-AV680 hangs up when I try to insert a PCMCIA card

    My laptop is Qosmio G45-AV680 with Vista 32.

    When I try to insert any PCMCIA card on my laptop, my laptop hang up every time.
    I had to express card PCMCIA slot. When I use express PCMCIA card with PCMCIA card, my laptop works well.

    I try to chang Vista 32 bit to XP Pro. Operation of PCMCIA is good.

    I think the driver PCMCIA of Qosmio (vista 32) has big bug.

    Is there someone with the same experience?

    Hello!

    Have you checked if you have the latest drivers and BIOS for your Qosmio G45?
    You can search here:
    http://www.CSD.Toshiba.com-online download-online mobile => Qosmio-G45-AV680 online

    And you have the Vista SP1?

    Maybe you can give me your comments.

    Good bye

  • Error when you try to run an application that worked when built with 8.6

    I have a simple program that I wrote in the 8.6 version that I've never had a problem generation and execution of applications built with it to 8.6.  Two weeks ago, I got 2009 by mail because we had very recently purchased 8.6 and I get errors when you try to run an application built with the same code using 2009.  The error relates to the Mean.vi.  He claims that he can't find it.  The error I get is as follows:

    Error loading VI 'NI_AALBase.lvlib:Mean.vi '.  LabVIEW support 3 error code: could not load façade.  I don't have access to the front panel of this vi, so I wonder if there is a problem with the runtime and not my code.  Please answer as soon as possible because it will quickly start to the impact of my calendar.  Thank you.

    Hello!

    The same problem ?

    I talked with my local OR technical support team. The application now works without any problem.

    Rule of thumb: when creating a Setup program do not forget that the option "Run Time Engine xxxx" in the category "Other installers" is selected despite the fact that the runtime is already installed.

    Best regards.

  • Windows Server 2008: WDS error when you try to approve the device to capture image.

    I'm taking a laptop that I have on my desk and it captures is currently running 'C:', which I can deploy it to 20 laptops more.

    I did the Audit mode and install and uninstalled the software required for the business and also have SysPreped machine use OOBE.

    I am approving the device sideways server so that I can do the live image capture and put it in the storage of images on the server to deploy on.  I get the same error when I try to join and approve this device on the server.

    Configuration information
    Server: HP Windows 2008 R2 Ent.
    Laptop: HP Windows 7 SP1 64 bit
    Office: Lenovo Windows 7 SP1 64 bit

    Error information
    Log name: Application
    Source: BINLSVC
    EventID: 524
    Level error
    User: n/a
    Task category: BINLSVC
    Keywords: Classic

    Error text (the machine MAC = XXXXXXXXXXXX)
    _______________________________________________________________
    --------------------------------------------------------------------------------------------------------------

    An error occurred trying to create the computer account for the following device:
     
    Name: HPTESTLPTP
    OU: CN = Computers, DC = esc, DC = local
    MAC address: 00000000000000000000XXXXXXXXXXXX
    GUID: B4F2B8E7FBA1E2119673CE39E75C6B08
     
    Information about the error: 0 x 57
    _______________________________________________________________
    --------------------------------------------------------------------------------------------------------------

    Hi Daniel,.

    The question you posted would be better suited for COMPUTING public Pro on TechNet. I would recommend posting your query in the TechNet Forums to get help:

    TechNet Windows Server general forums

    Let us know if you need help with Windows related issues. We will be happy to help you.

  • get error when you try to lower the java load error 1-4 of 4 0 x 80070643.

    get error when you try to lower the java load error 1-4 of 4 0 x 80070643.

    This forum is for Microsoft Security Essentials.

    You question is with Oracle Java.

    It is recommended to go to www.oracle.com to get help.

  • HTTP 503 error when you try to deploy the project in Visual Studio

    I get a http 503 error when you try to deploy a project in Visual Studio-SQL Server 2005. What this mean and how can I solve this problem?

    Hello

    I suggest you refer to the following msdn link for the fix for the problem.

    http://msdn.Microsoft.com/en-us/vstudio/aa718325

Maybe you are looking for