Getting error with inserts

Hi
I’ve written a procedure in which I insert rows in respective columns in a table.
One column say “TEST” in that table have datatype as varchar2(1024 char)
I’ve done 5 unions to accomplish this task.
In two blocks, I have written like
Primary_key,
|
|
|
substr(source,1,255) as TEST
from joins of diff tables
union
Primary_key,
|
|
|
Substr(source,1,1023) as TEST
From joins of diff tables.
Rest block in this union have null value for this column.
When I am trying to execute this query, it’s giving me error : “ORA-12899: value too large for column "SCHEMA"."TABLE"."TEST" (actual: 1027, maximum: 1024)”
Could anyone please help me to solve as I am wondered in spite of correct coding it’s giving me error.
--PD                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

That's what I thought, you have a multi-byte character set (UTF8). This means, some characters use 2 or more bytes (ie the french character é needs two bytes for instance).
You can look, what line is giving this error by executing the select statement given above and then try to correct it (if possible).
But perhaps you have to drop the table and recreate it using "char" as length measurement instead of the existing "byte" measurement, ie
SQL> create table t1 (col1 varchar2(20));
Table created.
SQL> should really be in your case
SQL> create table t1 (col1 varchar2(20 char));
Table created.
SQL>

Similar Messages

  • SharePoint Designer 2013 after installation getting error with runtime i.e. error writing to file Microsoft.SharePoint.Client.Runtime.Local.Resources.dll Verify that you have access to that directory

    SharePoint Designer 2013 after installation getting error with runtime i.e. error writing to file Microsoft.SharePoint.Client.Runtime.Local.Resources.dll Verify that you have access to that directory
    after retry..again SharePoint Designer requires the following component require to install Microsoft.NET framework version 4 i have downloaded and try to installed but fail not work please answer what to do?
    Thanks and Regards, Rangnath Mali

    Hi Rangnath,
    For running SharePoint Designer 2013, you need to install Microsoft .NET 4.0 Framework or higher.
    Please uninstall the Microsoft .NET 4.0 Framework, and install it again. After that, reboot your machine.
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Import of credit card data(tcode PRCC) getting error with currency

    Hi Everyone,
    Here is one query regarding Credit Card Clearing in Travel Management.
    We were initially using KR files for uploading SAP specific credit card Transactional data to employee buffer and it contained data for only US employees with currency as US. Now we are migrating to use GL1025 files with employees from multiple countries and multiple currency. But the Service Provider (American Express) is sending transactional details with billed currency as USD for all employees(even for employees from other country). On processing the file in PRCC we are getting the below error for non US employees.
    Do we have any configurations or something that needs to be maintained inorder to allow this?
    Awaiting response.
    Thanks in advance...
    Regards
    Binshi

    Hi All,
    For my above requirement, I made two configuration changes and the transaction details are getting loaded with out any error.
    1) Changed the 'Settlement of foreign currency receipts" to 'hard currency' for the trip provision variant in global settings under control parameters for Travel expenses.
    2) Maintained hard currency as USD for the other country(non US) in country settings. non US employee receipts got loaded in buffer in currency USD as required.
    With this configuration change, even the posting document  for all foreign currency receipts including AMEX receipts were created in USD.But our requirement was to make payment for all AMEX receipts in USD and other foreign currency receipts in the employee local currency.
    So we just tried with the third  option for configuration 1. Changed the 'Settlement of foreign currency receipts" to 'choose Between Trip currency and Hard currency per receipt'.
    Now with this, foriegn currency receipts of the employee posting document getting created in employee local currency and AMEX receipts in USD. But we are confused how the currency for posting document is being selected with this option 3. Could anyone help us please??
    Thanks & Regards
    Binshi

  • Getting Error with date parameter field -"Invalid DATE"

    Hi
    I created a report with 9.2 version. And  i created 2 date parameter fields in it. And within crystal reports it works fine.
    But If, I call from the VS2005 crystalreport.net(report document) SDK , i am getting error as Invalid Date" enter a Date Value". Actually it is a dtp control. how can i modify it.

    <p>There&#39;s not enough details to get a good understanding of your scenario, but it sounds like you&#39;re using some kind of date control to retrieve the date value and pass it to the report&#39;s parameter field at runtime. </p><p>If this is correct, it sounds like the format of the date value from the control may not be what the report is expecting. To debug, I would first use hardcoded values when you set the report parameter fields to see what works. Then compare that to what the return value is from the control to see if they match. I suspect the formats differ. </p><p>I did a quick search on the BOBJ kbase and found a couple of articles that may help you. I recommend searching as there are lots of information on how to set parameter fields at runtime. </p><p><span style="margin-left: 5px"><a href="http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=c2010247&sliceId=&dialogID=8582434&stateId=1 0 8584068" target="_blank">c2010247</a></span><span style="margin-left: 5px"><span style="margin-left: 5px"><a href="http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=c2010251&sliceId=&dialogID=8582434&stateId=1 0 8584068" target="_blank">c2010251</a></span></span></p><p>-MJ</p>

  • Getting error with Oracle10g Express using SQLPlus?

    I just installed Oracle10g Express on Linux FC6.
    I get errors in Java and SQLPlus when trying to connect to the database, or start it.
    In SQLPlus as "sysdba" when I type "startup" I get this error...
    ORA-27100: shared memory realm already exists
    And in Java or SQLPlus when I try to connect as a valid user I get this error...
    ORA-01034: ORACLE not available
    ORA-27123: unable to attach to shared memory segment
    Please help me.

    Have you set the environment with
    . /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle_env.sh?
    C.

  • Getting error with selectSingleNode in XML DOM

    I have some pages that utilitize the following in XML DOM:
    loadXML
    selectSingleNode
    getElementsByTagName
    I am using JavaScript. I am getting "undefined" errors. Anyone know the proper syntax/capitalization for these methods when using Safari. I had a similiar error with IE 7.0 and posting via an xmlHTTPPost. The problem there was capitalization of one of the methods.
    Thanks.
    Peter

    Hi,
    See below examples..
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/01a57f0b-0501-0010-3ca9-d2ea3bb983c1
    http://www.troobloo.com/tech/xslt.toc.shtml
    http://www.w3schools.com/xsl/
    http://www.w3.org/TR/xslt
    http://help.sap.com/saphelp_nw04/helpdata/en/73/f61eea1741453eb8f794e150067930/frameset.htm
    https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-code-samples/generic%20xslt%20mapping%20in%20sap%20xi%2c%20part%20i.pdf
    /people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
    Required XSLT Mapping tips!
    Regards
    Chilla..

  • Getting error with word wrap

    So this is the error im getting:
    Error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds.
              at flashx.textLayout.elements::FlowElement/getAbsoluteStart()[C:\Vellum\branches\v1\1.0\dev\ output\openSource\textLayout\src\flashx\textLayout\elements\FlowElement.as:960]
              at flashx.textLayout.compose::TextFlowLine/get location()[C:\Vellum\branches\v1\1.0\dev\output\openSource\textLayout\src\flashx\textLayo ut\compose\TextFlowLine.as:262]
              at flashx.textLayout.compose::ComposeState/createTextLine()[C:\Vellum\branches\v1\1.0\dev\ou tput\openSource\textLayout\src\flashx\textLayout\compose\ComposeState.as:369]
              at flashx.textLayout.compose::ComposeState/composeNextLine()[C:\Vellum\branches\v1\1.0\dev\o utput\openSource\textLayout\src\flashx\textLayout\compose\ComposeState.as:295]
              at flashx.textLayout.compose::BaseCompose/composeParagraphElementIntoLines()[C:\Vellum\branc hes\v1\1.0\dev\output\openSource\textLayout\src\flashx\textLayout\compose\BaseCompose.as:3 45]
              at flashx.textLayout.compose::ComposeState/composeParagraphElement()[C:\Vellum\branches\v1\1 .0\dev\output\openSource\textLayout\src\flashx\textLayout\compose\ComposeState.as:264]
              at flashx.textLayout.compose::BaseCompose/composeBlockElement()[C:\Vellum\branches\v1\1.0\de v\output\openSource\textLayout\src\flashx\textLayout\compose\BaseCompose.as:219]
              at flashx.textLayout.compose::BaseCompose/composeInternal()[C:\Vellum\branches\v1\1.0\dev\ou tput\openSource\textLayout\src\flashx\textLayout\compose\BaseCompose.as:322]
              at flashx.textLayout.compose::ComposeState/composeInternal()[C:\Vellum\branches\v1\1.0\dev\o utput\openSource\textLayout\src\flashx\textLayout\compose\ComposeState.as:126]
              at flashx.textLayout.compose::BaseCompose/composeTextFlow()[C:\Vellum\branches\v1\1.0\dev\ou tput\openSource\textLayout\src\flashx\textLayout\compose\BaseCompose.as:288]
              at flashx.textLayout.compose::ComposeState/composeTextFlow()[C:\Vellum\branches\v1\1.0\dev\o utput\openSource\textLayout\src\flashx\textLayout\compose\ComposeState.as:102]
              at flashx.textLayout.compose::StandardFlowComposer/http://ns.adobe.com/textLayout/internal/2008::callTheComposer()[C:\Vellum\branches\v1\1.0\dev\output\openSource\textLayout\src\flashx\textLayout\compos e\StandardFlowComposer.as:678]
              at flashx.textLayout.compose::StandardFlowComposer/internalCompose()[C:\Vellum\branches\v1\1 .0\dev\output\openSource\textLayout\src\flashx\textLayout\compose\StandardFlowComposer.as: 758]
              at flashx.textLayout.compose::StandardFlowComposer/compose()[C:\Vellum\branches\v1\1.0\dev\o utput\openSource\textLayout\src\flashx\textLayout\compose\StandardFlowComposer.as:821]
              at flashx.textLayout.container::TextContainerManager/compose()[C:\Vellum\branches\v1\1.0\dev \output\openSource\textLayout\src\flashx\textLayout\container\TextContainerManager.as:1205 ]
              at flashx.textLayout.container::TextContainerManager/updateContainer()[C:\Vellum\branches\v1 \1.0\dev\output\openSource\textLayout\src\flashx\textLayout\container\TextContainerManager .as:1292]
              at spark.components::RichEditableText/updateDisplayList()[E:\dev\4.0.0\frameworks\projects\s park\src\spark\components\RichEditableText.as:2605]
              at mx.core::UIComponent/validateDisplayList()[E:\dev\4.0.0\frameworks\projects\framework\src \mx\core\UIComponent.as:8531]
              at mx.managers::LayoutManager/validateClient()[E:\dev\4.0.0\frameworks\projects\framework\sr c\mx\managers\LayoutManager.as:932]
              at mx.core::UIComponent/validateNow()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core \UIComponent.as:7631]
              at spark.components::DataGroup/getVirtualElementAt()[E:\dev\4.0.0\frameworks\projects\spark\ src\spark\components\DataGroup.as:1430]
              at layouts::SemiCarouselLayout/updateDisplayListVirtual()[C:\ColdFusion9\wwwroot\com\schooli mprovement\pd360\layouts\SemiCarouselLayout.as:745]
              at layouts.supportClasses::NavigatorLayoutBase/updateDisplayList()[C:\ColdFusion9\wwwroot\co m\schoolimprovement\pd360\layouts\supportClasses\NavigatorLayoutBase.as:400]
              at layouts.supportClasses::PerspectiveNavigatorLayoutBase/updateDisplayList()[C:\ColdFusion9 \wwwroot\com\schoolimprovement\pd360\layouts\supportClasses\PerspectiveNavigatorLayoutBase .as:132]
              at layouts::SemiCarouselLayout/updateDisplayList()[C:\ColdFusion9\wwwroot\com\schoolimprovem ent\pd360\layouts\SemiCarouselLayout.as:716]
              at spark.components.supportClasses::GroupBase/updateDisplayList()[E:\dev\4.0.0\frameworks\pr ojects\spark\src\spark\components\supportClasses\GroupBase.as:1224]
              at spark.components::DataGroup/updateDisplayList()[E:\dev\4.0.0\frameworks\projects\spark\sr c\spark\components\DataGroup.as:1316]
              at mx.core::UIComponent/validateDisplayList()[E:\dev\4.0.0\frameworks\projects\framework\src \mx\core\UIComponent.as:8531]
              at mx.managers::LayoutManager/validateDisplayList()[E:\dev\4.0.0\frameworks\projects\framewo rk\src\mx\managers\LayoutManager.as:663]
              at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.0.0\frameworks\projects\frame work\src\mx\managers\LayoutManager.as:736]
              at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.0.0\frameworks\projec ts\framework\src\mx\managers\LayoutManager.as:1072]
    From what I can tell I have several links and the end of my text flow they are formatted like this "2.nf.5" they reference to a code. If I add text to so that one of them kicks down to then next line the error goes away. also if I change the textAlign to justify it goes away as well. it looks like it has to do with the word wrap. If you have any suggestions or help that would be great thanks.

    "Error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds." means there is an endless loop in getAbsoluteStart(). That is to say, one of the elements in the textflow has a incorrect '_parent'. You can debug to see if it's your fault or ours.

  • Getting error when inserting Web API/Table Inteface class in Web Template !

    Hi Experts,
    I am getting error -- Invalid Renderer class: '&1' ZTEST_BWREPORT_ADI
    while inserting the <param name="ITEM_CLASS" value="ZTEST_BWREPORT_ADI"/> in HTML code of the template, having one table web item, before  <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/> statement to get the customization I have done in ZTEST_BWREPORT_ADI as per table interface.
    Please look into the issue and try to suggest the possible solutions as soon as possible.
    Regards,
    Aditya Srivastava.

    Hi,
    The got the solution which is nothing tricky. I have to just insert <param name = "MODIFY_CLASS" value = "ZTEST_BWREPORTS_ADI"/> after <param name = "ITEM_CLASS" value = "CL_RSR_WWW_ITEM_GRID"> to get the desired result. Though I don't know what might be the reason (since I am very new to BW) but atleast the thing is working.
    Regards,
    Aditya Srivastava.

  • Getting Error in inserting the data in ADF

    I am getting the below Error while inserting the data into Essbase in ADF:
    <Error> <Net> <BEA-000902> <Duplicate expression found in the system property http.nonProxyHosts: localhost|localhost.localdomain|127.0.0.1|::1|sgajulap-in|sgajulap-in.>
    Could you please give any solution to resolve this Error.
    Thanks.
    Swathi

    check below links:
    http://download.oracle.com/javase/6/docs/technotes/guides/net/proxies.html
    http://www.rgagnon.com/javadetails/java-0085.html
    // Get a system property
    String dir = System.getProperty("user.dir");
    // Set a system property
    String previousValue = System.setProperty("application.property", "newValue");

  • Iam getting error while insert .

    HI every one , i getting error while doing insert data into backend table.the error is like this , could you clarify is it possible to change the lookup of sappd1db to other.
    Object not found in lookup of SAPPD1DB.

    Hi Eswar,
    go to J2EE perspective..expend ur Ejb project n now double click on persistent.xml file
    now in right pane first deselect switch off verification ,if its selectd..
    then select  No automatic locking..
    now in datasource name input field u can write ur new datasource sys ID..
    secondly..go to entity bean tab after doin this in same pane
    n expend entity bean
    nw check for ejb field's mapping for corressponding fields ..
    id it shows table is varified by d dictionary thn its fine else u map it wid correct fields..
    now save the changes..n delete ue old .jar file of ejb project n create new..now create new .ear file for application project aftr deleting old one...n deploy new1....
    hpe it hlps u...
    Regards,
    Khushboo

  • Getting Error While inserting a record in table PDSNR through Tcode PA30

    Hi Experts,
    Im doing a transaction in  TCode PA30 by entering a pernr and infty as 14 and wage type.
    My need is when im entering a particular wage type in PA30 with infotype 14 , for that particular wage type and infotype i need to assign a different cost centre. This requirement was doing now manually by changing the cost centre form EDIT - > Maintain Cost Assignment.
    But my Client Needs to do it automatically. by comparing the wage type and infotype the cost centre needs to get automatically updated.
    So i use the Enhancement EXIT_SAPFP50M_002 * INCLUDE ZXPADU02.* and wrote coding like below
    CASE innnn-infty.
    To check whether the record belong to pa0014
    If so,check the wage type for the updation
    If so update the values of cost center assignments in the table assob and asshe
    when '0014'.
    if innnn-subty eq '2211'.
    Select the last updated sequence number in the table pdsnr
    if sy-ucomm eq 'UPD' or sy-ucomm eq 'INS'.
    select single * from pa0001 into wa_0001 where pernr eq INNNN-pernr and
                                                   endda eq '99991231'.
      if sy-subrc = 0.
    call function 'ENQUEUE_EPPRELE'
    EXPORTING
       MODE_PREL            = 'E'
       MANDT                = SY-MANDT
       PERNR                = INNNN-pernr
       INFTY                = INNNN-INFTY
       SUBTY                = INNNN-SUBTY
    EXCEPTIONS
       FOREIGN_LOCK         = 1
       SYSTEM_FAILURE       = 2
       OTHERS               = 3
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    CLEAR : lv_pdsnr.
    select MAX( pdsnr ) from pdsnr into lv_pdsnr.
    lv_pdsnr = lv_pdsnr + 1.
        ls_assob-pdsnr = lv_pdsnr.
        ls_assob-pernr = INNNN-pernr.
        ls_assob-bukrs = wa_0001-bukrs. "'1001'.
        ls_assob-gsber = wa_0001-gsber. "'0001'.
        ls_assob-kokrs = wa_0001-kokrs. "'1000'.
        ls_assob-kostl = '1-1361'.
        ls_asshr-pdsnr = lv_pdsnr.
        ls_asshr-pernr = INNNN-pernr.
        ls_asshr-infty = innnn-infty.
        ls_asshr-subty = innnn-subty.
        ls_asshr-begda = sy-datum.
        ls_asshr-endda = '99991231'.
        ls_PDSNR-pdsnr = lv_pdsnr.
        ls_PDSNR-PDGRP = '5B'.
    insert into pdsnr values ls_pdsnr.
    insert into asshr values ls_asshr.
    insert into assob VALUES ls_assob.
    call function 'DEQUEUE_EPPRELE'
    EXPORTING
       MODE_PREL       = 'E'
       MANDT           = SY-MANDT
       PERNR           = INNNN-pernr
       INFTY           = INNNN-INFTY
       SUBTY           = INNNN-SUBTY.
        ENDIF.
    ENDIF.
    ENDIF.
    COMMIT WORK.
    ENDCASE.
    This is to update the three tables PDSNR, ASSOB,ASSHR.
    Its getting Updated correctly, But when i goto EDIT - > Maintain Cost Assignment to do some changes and while saving the data i get the following Error Message :
    You Cannot insert data in table : PDSNR.
    Message no. P2715
    Can Anyone please suggest me how to solve this issue.
    Thanks,
    Vijayan.R

    Hi. Were you able to fix the error?

  • Error with insert using ASP, SQL and ValidationTool Kit

    i finally got my 1st of 5 pages setup to insert, validate and
    redirect.. but
    now i get an error i have no idea what it means
    The page loads fine, but when i attempt to submit the page to
    insert the
    record, i receive the error below...
    Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
    [Microsoft][ODBC SQL Server Driver][SQL Server]Parameterized
    Query '(@P1
    text,@P2 nvarchar(50),@P3 nvarchar(50),@P4 nvarchar(50),@P5'
    expects
    parameter @P18, which was not supplied.
    /cemp_app1.asp, line 123
    Here is the line in question
    Line#123 MM_editCmd.Execute
    I dont understand why the error mentions Parameterized Query
    when im not
    doing anything special, just a simple insert(after being
    validated)
    Below is the insert code that seems to mention parameters
    If (CStr(Request("MM_insert")) = "form1") Then
    If (Not MM_abortEdit) Then
    ' execute the insert
    Dim MM_editCmd
    Set MM_editCmd = Server.CreateObject ("ADODB.Command")
    MM_editCmd.ActiveConnection = MM_has_STRING
    MM_editCmd.CommandText = "INSERT INTO dbo.EmpCandidate
    (cssn, cfname,
    cmname, clname, caddr, caddr1, capt, ccounty, ccity, cstate,
    czip, chphone,
    cmphone, cophone, qlegal, ost, qref, refemp, webother, qage,
    qgrpast,
    qgrpastsel, qgrrel, qgrrelsel1, qgrrelsel2, qcontact, qterm,
    cdesiredpos1,
    cdesiredpos2, cdesiredpay1, cdesiredpay2, cte, availsun1,
    availsun2,
    availmon1, availmon2, availtue1, availtue2, availwed1,
    availwed2,
    availthur1, availthur2, availfri1, availfri2, availsat1,
    availsat2, casppos,
    cattsuce) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
    MM_editCmd.Prepared = true
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param1", 201,
    1, 9, Request.Form("cssn")) ' adLongVarChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param2", 202,
    1, 50, Request.Form("cfname")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param3", 202,
    1, 50, Request.Form("cmname")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param4", 202,
    1, 50, Request.Form("clname")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param5", 202,
    1, 75, Request.Form("caddr")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param6", 202,
    1, 75, Request.Form("caddr1")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param7", 202,
    1, 10, Request.Form("capt")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param8", 202,
    1, 15, Request.Form("ccounty")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param9", 202,
    1, 30, Request.Form("ccity")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param10", 202,
    1, 2, Request.Form("cstate")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param11", 202,
    1, 5, Request.Form("czip")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param12", 202,
    1, 10, Request.Form("chphone")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param13", 202,
    1, 10, Request.Form("cmphone")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param14", 202,
    1, 10, Request.Form("cophone")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param15", 202,
    1, 1, Request.Form("qlegal")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param16", 202,
    1, 15, Request.Form("ost")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param17", 202,
    1, 10, Request.Form("qref")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param18", 202,
    1, 25, Request.Form("refemp")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param19", 202,
    1, 25, Request.Form("webother")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param20", 202,
    1, 1, Request.Form("qage")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param21", 202,
    1, 1, Request.Form("qgrpast")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param22", 202,
    1, 10, Request.Form("qgrpastsel")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param23", 202,
    1, 1, Request.Form("qgrrel")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param24", 202,
    1, 10, Request.Form("qgrrelsel1")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param25", 202,
    1, 10, Request.Form("qgrrelsel2")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param26", 202,
    1, 3, Request.Form("qcontact")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param27", 202,
    1, 1, Request.Form("qterm")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param28", 202,
    1, 35, Request.Form("cdesiredpos1")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param29", 202,
    1, 35, Request.Form("cdesiredpos2")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param30", 202,
    1, 25, Request.Form("cdesiredpay1")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param31", 202,
    1, 25, Request.Form("cdesiredpay2")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param32", 202,
    1, 15, Request.Form("cte")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param33", 202,
    1, 35, Request.Form("availsun1")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param34", 202,
    1, 35, Request.Form("availsun2")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param35", 202,
    1, 35, Request.Form("availmon1")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param36", 202,
    1, 35, Request.Form("availmon2")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param37", 202,
    1, 35, Request.Form("availtue1")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param38", 202,
    1, 35, Request.Form("availtue2")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param39", 202,
    1, 35, Request.Form("availwed1")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param40", 202,
    1, 35, Request.Form("availwed2")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param41", 202,
    1, 35, Request.Form("availthur1")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param42", 202,
    1, 35, Request.Form("availthur2")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param43", 202,
    1, 35, Request.Form("availfri1")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param44", 202,
    1, 35, Request.Form("availfri2")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param45", 202,
    1, 35, Request.Form("availsat1")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param46", 202,
    1, 35, Request.Form("availsat2")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param47", 201,
    1, -1, Request.Form("casppos")) ' adLongVarChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param48", 201,
    1, -1, Request.Form("cattsuce")) ' adLongVarChar
    MM_editCmd.Execute
    MM_editCmd.ActiveConnection.Close
    End If
    End If
    %>

    Seems Adobe has a bit of a mistake there in the insert
    behavior.
    This line appears just below the query (you'll see VALUES
    with a lot of
    question marks):
    MM_editCmd.Prepared = true
    Change it to
    MM_editCmd.Prepared = false
    That will fix you up.
    "Daniel" <[email protected]> wrote in message
    news:f05ce4$s04$[email protected]..
    >i finally got my 1st of 5 pages setup to insert, validate
    and redirect..
    >but now i get an error i have no idea what it means
    >
    > The page loads fine, but when i attempt to submit the
    page to insert the
    > record, i receive the error below...
    >
    >
    > Microsoft OLE DB Provider for ODBC Drivers error
    '80040e14'
    > [Microsoft][ODBC SQL Server Driver][SQL
    Server]Parameterized Query '(@P1
    > text,@P2 nvarchar(50),@P3 nvarchar(50),@P4
    nvarchar(50),@P5' expects
    > parameter @P18, which was not supplied.
    >
    > /cemp_app1.asp, line 123
    >
    >

  • Javascript error with insert record. Please help!

    I  contacted Adobe  support today and they said to get on these forums as  they cant help  with coding errors.
    When i try to  insert a Record I  get the following error:
    while executing onLoad in  InsertRecord.htm, the  following JavaScript error(s) occurred:
    At  line 665 of file  "C:\Program Files\Adobe   DreamweaverCS4\Configaration\ServerBehaviours\PHP_MySQL\InsertRecord.js":
    name    has no properties
    Line 655
          if (columnName.toUpperCase() ==   name.toUpperCase())
    Im running Win 7 64bit
    I contacted  Adobe  support today and they said to get on these forums as they cant  help  with coding errors.
    I have formatted my Pc and reinstalled and the  same error  comes up. If I try to edit and existing insert record it  works fine,  when I create a new page and then try to add a new insert  recordset i  get this erro again.
    i have since reinstalled Windows & 32Bit  to see if  that helped, nope. I have installed no extensions its a  clean install.
    Any  help  after spending a small fortune on this software.

    I think you are trying to run the program but you don't have the required class POP3Session.class or it's .java file which you can compile.
    Another example for pop3 and smtp is on the following link..check if it helps you..
    http://www.cs.umu.se/~hed/java/ch11.htm

  • Getting error while inserting xmldoc to a table

    I am getting following error .
    ERROR at line 2:
    ORA-06550: line 2, column 6:
    PLS-00103: Encountered the symbol "INSERTXML" when expecting one of the
    following:
    := . ( @ % ;
    The symbol ":=" was substituted for "INSERTXML" to continue.
    Here is my code below.
    CREATE TABLE empleados (empid NUMBER PRIMARY KEY,
    empname VARCHAR2(30),
    empjob VARCHAR2(30),
    empsal NUMBER);
    create or replace procedure InsertXML(xmlDoc IN VARCHAR2, tableName IN VARCHAR2) is
    insCtx DBMS_XMLSave.ctxType;
    rows number;
    begin
    insCtx := DBMS_XMLSave.newContext(tableName); -- get the context handle
    rows := DBMS_XMLSave.insertXML(insCtx,xmlDoc); -- this inserts the document
    dbms_output.put_line(to_char(rows) || ' rows inserted');
    DBMS_XMLSave.closeContext(insCtx); -- this closes the handle
    end;
    begin
    exec InsertXML('<?xml version="1.0"?><ROWSET><ROW num="1"><EMPID>10</EMPID><EMPNAME>Perry Smith
    </EMPNAME><EMPJOB>Manager</EMPJOB><EMPSAL>800</EMPSAL></ROW><ROW num="1"><EMPID>20</EMPID><EMPNAME>J
    ohn Calvach</EMPNAME><EMPJOB>Principal Support Consultant</EMPJOB><EMPSAL>900</EMPSAL></ROW><ROW num
    ="1"><EMPID>30</EMPID><EMPNAME>Louis Bald</EMPNAME><EMPJOB>Technical Specialist</EMPJOB><EMPSAL>400<
    /EMPSAL></ROW><ROW num="1"><EMPID>40</EMPID><EMPNAME>Anthony Flowers</EMPNAME><EMPJOB>Technical Team
    Leader</EMPJOB><EMPSAL>500</EMPSAL></ROW><ROW num="1"><EMPID>50</EMPID><EMPNAME>George Monk</EMPNAM
    E><EMPJOB>Support Consultant</EMPJOB><EMPSAL>200</EMPSAL></ROW></ROWSET>','empleados');
    end;

    I changed the name.But still I get that error.
    Thanks

  • Getting error while inserting a row in a table

    Hi,
    The following error occurs when one of my enduser is trying to enter record into a table
    <b>Error: Insertion of Infotype 1032 (return code 3) </b>
    There are no records in the table at all.. what could be the reason and why the error occurs?
    Thanks in advance
    Regards,
    Suresh

    Hello Suresh,
    in which table... did you get a dump?
    What is the ORA-error? Is a trace or an alert.log entry generated?
    Your information is insufficient to solve the problem
    Regards
    Stefan

Maybe you are looking for