Strip Oracle Number from error message!

Hi All,
I am raising error messages in my application but I want to be able to strip off the Oracle number form the error message.
The system may pass back an error message like:
ORA-00900: invalid SQL statement
I would like to pass back "invalid SQL statement" instead of "ORA-00900: invalid SQL statement"
It is possible to do this?
Can it be striped off from the source where it is raised like in the procedure
From here:
Err_Handler.RAISE(l_ErrorNum);
Or it it better to strip it off in the asp.net code when I call:
ex.Message
Thanks in advance, your help will be much appreciated.

Careful consideration should be given to removing the error number from the message.
If you have an application that throws up just an error message when the user does something then they are going to report this error to the system administrator. Users being users will no doubt get the wording wrong when they report it, and that possibility also exists when the system admin reports it back to the developers. By the time it gets to the developer to look at, they have some sketchy message about what went wrong and then they're expected to know what that error is. Without the exact description of the message and without the error number, tracking down the exact error that occurred becomes more difficult. With the error number, the original user only has to report that number, which is less likely to get corrupted on the way to the developer, and is far easier to look up what the error was and how to go about fixing it. It may not appear user friendly, but it's sure as hell developer friendly.
;)

Similar Messages

  • I have had an eMac for a few years. I don't know any of the specs. Every time I try to download or install a new version of itunes or OS I get any number of error messages and cannot complete.  Help!!!!

    I have had an eMac for a few years. I don't know any of the specs. Every time I try to download or install a new version of itunes or OS I get any number of error messages and cannot complete.  Help!!!!

    It's best to start with figuring out your eMac model and OS in order to answer the question. This article will help you determine your model:
    How to locate the serial number and identify your model
    And to get the version of Mac OS that's installed:
    From the Apple Menu at the left end of your menu bar, select "About this Mac..."
    In the resulting Window, you can see the Mac OS version just under the big "Mac OS X":
    If the eMac is older and you have never upgraded the system software, it's possible that your OS version is too old to run the current iTunes. The current version requires OS 10.5 (Leopard)or higher, which is a pay-for system upgrade.

  • Change of Message status from Error message to Warning message

    Hello,
    I would like to know the configuration details of changing the status of a message class from Error message to warning message.
    Thanks
    Manish

    Hi,
    You can do it via OBA5 transaction; enter the application code, and put an entry for the message setting the flag to warning. Keep in mind, that not for every message it could be done.
    Regards,
    Eli

  • How to suppress Oracle Seeded Form Error Message

    I have a requirement to suppress the oracle seeded form error message.
    How this can be done. Can any one please advise?
    Thanks,
    Ananga

    Also, a redirect is possible - look for note 555137.1 in My Oracle Support.
    -Vinod

  • Help with Oracle AS Portal Error Messages

    Hi
    Our Application basically consists of a number of Reports which display data from a database, and Forms which will allow the insert of data in the table that the form is based on...
    The application is used by business users.
    I need assistance with the error messages that appear on Oracle Portal if something goes wrong - wrong data entered on a form for the database table, some error with a trigger that is called on the table where data is being inserted/ updated etc...
    Currently, when an error occurs on the form (when you are trying to insert data into the database), the following errors can appear (this is an example of the actual format.)
    Error: Internal error (WWC-00006)
    An unexpected error occurred: ORA-20001: aft person ins
    ORA-06512: at "RFS.RFS_AFT_INS", line 41
    ORA-12899: value too large for column "RFS"."RFS_PERSON"."USER_ID" (actual: 22, maximum: 20)
    ORA-04088: error during execution of trigger 'RFS.RFS_AFT_INS' (WWV-16016)
    While this error will tell a developer what to do, it will not really tell an end user what the problem is...
    I have started to edit the functions/ procedures that are used/ triggered from the forms to display a message in more or less the following format.
    RAISE_APPLICATION_ERROR(-20001,'PLEASE NOTE: There is no XXX data for the XXX used. Please contact your administrator to assist.',TRUE);
    What I want to know is, by changing the functions on the database etc, will I be catering for the errors, and will the message that I create be displayed to the user, or will they still see the original error message above?
    Are there ways to display a more user-friendly error, even if just to say "Contact your administrator..." or something?
    Any help will be greatly appreciated.
    Thanks

    By editing the default error messages, there is a risk the next patch or patch set to overwrite your customizations. A better approach would be to create custom error page(s) for Portal forms/reports.
    Please refer to Metalink Note: 157132.1 How to Create a Custom Error Page for Portal Form.
    Thanks.

  • Oracle Not Available Error Message

    My application has been running fine until today. I have not changed any code in a while, but now I'm suddently getting the error message:
    Oracle.DataAccess.Client.OracleException: ORA-1034: ORACLE not available
    The database is not shutdown and I can run a query on the database server just fine. I have tried shutting down and re-starting the database, but I still get the same error.
    I'm running ODP.NET 9.2.0.401.
    Any suggestions? Thanks!

    Hi Jimmy,
    Can you run a query (e.g. using SQL*Plus) from the Client?
    If so, check the Data Source=<tns_name_alias> if it matches with the alias entry in Client side tnsnames.ora.
    S.H.

  • To remove error from error message screen stnd SAP in case condition met

    Hi all,
    I have a strange problem may be not to you guys,
    well i am showing an error message in ME21N on certain condition in EXIT 'EXIT_SAPMM06E_012' this is working fine i am using simple stmt Message e(MSGno) text-01, but when i correct the problematic part and again want to save my data it is aloowing me to save data but my error message(In red) still remains there if i see in EDIT ( of faulty messages pop-up window). Can any body know if we have to remove error message manually in case our program satify the condition.
    if yes what portion i m missing to delete the error message.
    any reply will be highy appreciated <REMOVED BY MODERATOR>
    Mandy
    Edited by: Alvaro Tejada Galindo on Feb 7, 2008 10:51 AM

    Well we can remove message from message text tray using pre-defined macros to erase message.its like
    IF SY-SUBRC NE 0.
    IF NOT tekpo-id IS INITIAL.
    "This is to remove error message later on
    "if problem corrected.
    mmpur_business_obj_id tekpo-id.
    ENDIF.
    mmpur_metafield mmmfd_item_userexit.
    mmpur_message 'E' 'ZMM02' '050'
    'Intraplant STO :' '' '' ''.
    else.
    "To erase message
    mmpur_metafield mmmfd_item_userexit .
    mmpur_remove_messages_by_id tekpo-id.
    ENDIF.
    its working for one line item, if more then one line item you need to verify it.
    ENJOY SAP

  • How to restrict the number of error messages appearing in af:messages

    Hii all....
    Ihave customized the error messages which are produced when a constraint in a database are voilated using the following links
    http://download-west.oracle.com/docs/cd/B32110_01/web.1013/b25947/web_val.htm#CIHJBIDJ
    and by overriding the ListResourceBundle using the following link:http://one-size-doesnt-fit-all.blogspot.com/2007/05/dont-constrain-yourself-displaying.html
    Now my problem is say, when a primary key is voilated i get repeated error messages and some unwanted error messages like 2,4(which are again repeated) as show below:
    1.Empno - Employee Already Exists!!!
    2.Empno - Attribute Empno in AppModule.EmpVO1 is required
    3.Empno - Employee Already Exists!!!
    4.Empno - Attribute Empno in AppModule.EmpVO1 is required
    Now, i want the user to only see error numbered 1 and rest 2,3,4 should not be displayed on the screen ......plzzz knidly help me.

    Hi,
    In your ErrorHandler, override the method getDisplayMessage and in it add whatever message you'd like. Something like this:
        @Override
        public String getDisplayMessage(BindingContext bindingContext, Exception exception) {
            FacesContext fctx = FacesContext.getCurrentInstance();
            Iterator<FacesMessage> iterator = fctx.getMessages();
            if (exception instanceof JboException) {
                // do something (or nothing)
            } else if (exception instanceof UniqueNameException) {
                // add some message
                if (!iterator.hasNext()) fctx.addMessage(null, new FacesMessage(FacesMessage.SEVERITY_ERROR, "", "This is an UniqueNameException!");
            return null;
    {code}
    You can also try add some code to manipulate the iterator and remove all the messages, and then add only the one you want the user to see.
    Pedja                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Exclude ORA-06512 from error message

    Hi all,
    Lets have a simple example:
    declare
    EXP_FRZN_VER EXCEPTION;
    begin
    if (1=1) then
    raise EXP_FRZN_VER;
    end if;
    exception
    when EXP_FRZN_VER then
    raise_application_error (-20303, 'Frozen version cannot be modified!');
    when OTHERS then
    dbms_output.put_line('TEST');
    end;
    I want to send error message to my web application through raise_application_error.
    Error message looks like:
    Error report:
    ORA-20303: Frozen version cannot be modified!
    ORA-06512: at line 12
    Question: Is there a way to exclude string "ORA-06512: at line 12" from that message? I need to handle it on DB side...
    Thanks
    Finec

    Your calling code shouldn't get that line as you haven't passed back the error stack in your raise_application_error...
    e.g.
    SQL> ed
    Wrote file afiedt.buf
      1  declare
      2    EXP_FRZN_VER EXCEPTION;
      3    v_err varchar2(200);
      4    procedure x is
      5    begin
      6      if (1=1) then
      7        raise EXP_FRZN_VER;
      8      end if;
      9    exception
    10      when EXP_FRZN_VER then
    11        raise_application_error (-20303, 'Frozen version cannot be modified!');
    12    end;
    13  begin
    14    x;
    15  exception
    16    when others then
    17      v_err := SQLERRM;
    18      dbms_output.put_line('Error Message received is actually: '||v_err);
    19* end;
    SQL> /
    Error Message received is actually: ORA-20303: Frozen version cannot be modified!
    PL/SQL procedure successfully completed.If you did pass back the whole stack, then you'd get the whole thing...
    SQL> ed
    Wrote file afiedt.buf
      1  declare
      2    EXP_FRZN_VER EXCEPTION;
      3    v_err varchar2(200);
      4    procedure x is
      5    begin
      6      if (1=1) then
      7        raise EXP_FRZN_VER;
      8      end if;
      9    exception
    10      when EXP_FRZN_VER then
    11        raise_application_error (-20303, 'Frozen version cannot be modified!', true); -- pass back whole error stack
    12    end;
    13  begin
    14    x;
    15  exception
    16    when others then
    17      v_err := SQLERRM;
    18      dbms_output.put_line('Error Message received is actually: '||v_err);
    19* end;
    SQL> /
    Error Message received is actually: ORA-20303: Frozen version cannot be modified!
    ORA-06512: at line 11
    ORA-06510: PL/SQL: unhandled user-defined exception
    PL/SQL procedure successfully completed.

  • To remove error from error message screen in ME21N

    Hi all,
    I have a strange problem may be not to you guys,
    well i am showing an error message in ME21N on certain condition in EXIT 'EXIT_SAPMM06E_012' this is working fine i am using simple stmt Message e(MSGno) text-01, but when i correct the problematic part and again want to save my data it is aloowing me to save data but my error message(In red) still remains there if i see in EDIT ( of faulty messages pop-up window). Can any body know if we have to remove error message manually in case our program satify the condition.
    if yes what portion i m missing to delete the error message.
    any reply will be highy appreciated n offcourse points for sure
    thanks a lot.
    regards
    Mandy

    Well we can remove message from message text tray using pre-defined macros to erase message.its like
    IF SY-SUBRC NE 0.
      IF NOT tekpo-id IS INITIAL.
       "This is to remove error message later on
       "if problem corrected.  
        mmpur_business_obj_id tekpo-id.
      ENDIF.
       mmpur_metafield mmmfd_item_userexit.
    mmpur_message 'E' 'ZMM02' '050'
                  'Intraplant STO :' '' '' ''.
    else.
      "To erase message
       mmpur_metafield mmmfd_item_userexit    .
       mmpur_remove_messages_by_id tekpo-id.
    ENDIF.
    its working for one line item, if more then one line item you need to verify it.
    Mandy

  • Mail send issue - Workflow Triggered from Error Message

    hi
    i am learning workflow and doing some practical sessions using tutorials found on the internet. I have successfully enabled a workflow triggering options from the error message. The workflow will simply send an email and there is nothing else in that workflow definition. When i get the error message i open up the error message window and trigger the workflow option which is enabled. I get a message that the workflow has been started but i dont get the email immediately. I see the emails only after a long time. Infact the emails sent yesterday is only visible today.
    i checked in SOST and i dont see the messages at all. If its available in SOST then the system would have picked up and send to the inbox. But i dont see the mails queued in SOST. But if i wait for a day i can see the emails in my inbox. Any idea what is wrong.
    ~Suresh
    Message was edited by:
            Suresh Reddy

    Hi Suresh
    Good on you that you are actually going through the SAP Help and trying the harder but better way unlike many others...your input regarding your problem is also quite well explained....Keep it up!
    Coming to your problem,
    <b>1.>>I see the emails only after a long time. Infact the emails sent yesterday is >>only visible today.</b>
    RSCONN01 is the program that sends email out of SAP, make sure this scheduled to run frequently otherwise you can manually run this from SE/SA38.
    <b>2. i checked in SOST and i dont see the messages at all. If its available in SOST then the system would have picked up and send to the inbox</b>
    When you run SOST make sure you tick all the checkboxes - Waiting, Errors, Sent and Transmitted. If you are on ECC, then these are available on the Send Status tab...
    Good Luck
    Ravi

  • How to recover from error message 13014

    I am having a problem with launching the itunes from my computer. I consistantly receive the error message 13014 with every attempt. Is there some way I can recover from this error short of wiping the computer clean?

    Repair Permission with Disk Utility.  See if it starts.
    If not, relocate Genius related files in your iTunes Library folder to another folder somewhere.  Test if it starts.

  • Oracle/sql developer error message....

    Hi All,
    I have this sql and get the error: Please help! Urgent! Thank you...thank you....
    ORA-01722: invalid number
    01722. 00000 - "invalid number"
    *Cause:   
    *Action:
    WITH
    REPORTDATE AS
    (SELECT MAX(MMR_DATE) AS RPT_DATE
    FROM RESULTS.MMR_MONTH_DEALERS
    WHERE STAGE_ID >= 12 AND STAGE_ID <= 15
    ALLACTIONS AS --ACTIONS
    (SELECT
    AH.PART_DEALERID AS PART_DEALERID,
    results.gbst.get_element(AH.action_type2gbst_elm) AS ACT_TYPE,
    results.gbst.get_element(AH.action_subtype2gbst_elm) AS ACT_SUBTYPE,
    results.results_tools.get_action_group_name(AH.action_summ2act_grp) AS ACT_HIST2ACT_GRP,
    AH.total_solicited
    -- AH.ACT_TYPE AS "ACT_TYPE",
    -- AH.ACT_SUBTYPE AS "ACT_SUBTYPE",
    -- AH.ACT_HIST2ACT_GRP AS "ACT_HIST2ACT_GRP"
    FROM
    RESULTS.TABLE_ACTION_SUMM AH --SA.TABLE_ACTION_HISTORY AH
    WHERE
    AH.SUMMARY_DATE >= (SELECT RPT_DATE FROM REPORTDATE)
    AND AH.SUMMARY_DATE < ADD_MONTHS((SELECT RPT_DATE FROM REPORTDATE),1)
    -- AH.ACTION_COMP__DATE >= (SELECT RPT_DATE FROM REPORTDATE)
    -- AND AH.ACTION_COMP__DATE < ADD_MONTHS((SELECT RPT_DATE FROM REPORTDATE),1)
    -- AND AH.ACT_RESULT = 'ACTION_PROCESSED'
    and results.gbst.get_element(AH.action_type2gbst_elm)in ('EMAIL','LETTER','LETTEREMAIL','PHONE')
    AND AH.PART_DEALERID = '00333' --(AH.PART_DEALERID = '{?Dealer}' or '{?Dealer}' = 'ALL')
    ORDER BY
    PART_DEALERID
    GRPACT AS --ACTIONS CATEGORIZED
    (SELECT
    PART_DEALERID AS PART_DEALERID,
    ACT_TYPE AS ACT_TYPE,
    ACT_SUBTYPE AS ACT_SUBTYPE,
    ACT_HIST2ACT_GRP AS ACT_HIST2ACT_GRP,
    COUNT(*) AS CNT
    FROM
    ALLACTIONS -- RESULTS.TABLE_ACTION_SUMM
    GROUP BY
    PART_DEALERID,
    ACT_TYPE,
    ACT_SUBTYPE,
    ACT_HIST2ACT_GRP
    ORDER BY
    PART_DEALERID
    ACT_HIST AS --ACTIONS IDENTIFIED
    (SELECT
    GA.PART_DEALERID AS PART_DEALERID,
    GA.ACT_TYPE AS ACTION_TYPE,
    GA.ACT_SUBTYPE AS ACTION_SUBTYPE,
    AGL.GROUP_NAME AS ACTION_GROUP,
    GBST.GET_ELEMENT(ACL.MEDIA_TYPE2GBST_ELM) AS MEDIA_TYPE,
    GBST.GET_ELEMENT(ACL.ACTION_STAGE2GBST_ELM) AS STAGE,
    GA.CNT AS CNT_ACTION
    FROM
    GRPACT GA -- RESULTS.TABLE_ACTION_SUMM
    INNER JOIN SA.TABLE_ACTION_GROUP_LIST AGL
    ON GA.ACT_HIST2ACT_GRP = AGL.OBJID
    INNER JOIN RESULTS.ACTION_CONTROL_LIST ACL
    ON AGL.OBJID = ACL.ACT_CONTROL_LIST2ACT_GRP
    AND GA.ACT_SUBTYPE = GBST.GET_ELEMENT(ACL.ACT_SUBTYPE2GBST_ELM)
    AND GA.ACT_TYPE = GBST.GET_ELEMENT(ACL.ACT_TYPE2GBST_ELM)
    ACTCNTS AS --ACTIONS SUMMED UP
    (SELECT
    PART_DEALERID,
    SUM("H") AS "H", SUM("I") AS "I", SUM("J") AS "J", SUM("K") AS "K",
    SUM("L") AS "L", SUM("M") AS "M", SUM("N") AS "N", SUM("O") AS "O",
    SUM("H") + SUM("I") + SUM("J") + SUM("K") +
    SUM("L") + SUM("M") + SUM("N") + SUM("O") AS "P",
    SUM("Q") AS "Q", SUM("R") AS "R", SUM("S") AS "S", SUM("T") AS "T",
    SUM("T2") AS "T2", SUM("U") AS "U", SUM("V") AS "V", SUM("W") AS "W",
    SUM("Q") + SUM("R") + SUM("S") + SUM("T") +
    SUM("T2") + SUM("U") + SUM("V") + SUM("W") AS "X",
    SUM("Y") AS "Y", SUM("Z") AS "Z", SUM("AA") AS "AA",
    SUM("Y") + SUM("Z") + SUM("AA") AS "AB",
    SUM("AD") AS "AD", SUM("AE") AS "AE", SUM("AF") AS "AF", SUM("AG") AS "AG",
    SUM("AH") AS "AH", SUM("AI") AS "AI",
    SUM("AD") + SUM("AE") + SUM("AF") + SUM("AG") +
    SUM("AH") + SUM("AI") AS "AJ"
    FROM
    (SELECT
    PART_DEALERID AS "PART_DEALERID",
    CASE WHEN ACTION_GROUP = 'THANKS' AND ACTION_TYPE = 'LETTER' THEN
    CNT_ACTION ELSE 0 END AS "H",
    CASE WHEN ACTION_GROUP = 'VOW' AND ACTION_TYPE = 'LETTER' THEN
    CNT_ACTION ELSE 0 END AS "I",
    CASE WHEN ACTION_GROUP = 'MAINT' AND ACTION_TYPE = 'LETTER'
    AND STAGE = 'Reminder' THEN CNT_ACTION ELSE 0 END AS "J",
    CASE WHEN ACTION_GROUP = 'MAINT' AND ACTION_TYPE = 'LETTER'
    AND ACTION_SUBTYPE LIKE '%F/U%' AND
    (STAGE = 'Non-Responder' OR STAGE = 'Follow-Up') THEN
    CNT_ACTION ELSE 0 END AS "K",
    CASE WHEN (ACTION_GROUP = 'AFTER_SERVICE' OR ACTION_GROUP = 'DECL')
    AND ACTION_TYPE = 'LETTER' THEN
    CNT_ACTION ELSE 0 END AS "L",
    CASE WHEN ACTION_GROUP = 'SEASONAL' AND ACTION_TYPE = 'LETTER' THEN
    CNT_ACTION ELSE 0 END AS "M",
    CASE WHEN ACTION_GROUP = 'MAINT' AND ACTION_TYPE = 'LETTER'
    AND STAGE = 'Bring-em-back' THEN CNT_ACTION ELSE 0 END AS "N",
    CASE WHEN ACTION_GROUP = 'MAINT' AND ACTION_TYPE = 'LETTER'
    AND STAGE = 'Last Chance' THEN CNT_ACTION ELSE 0 END "O",
    CASE WHEN ACTION_GROUP = 'THANKS' AND ACTION_TYPE = 'EMAIL' THEN
    CNT_ACTION ELSE 0 END AS "Q",
    CASE WHEN ACTION_GROUP = 'VOW' AND ACTION_TYPE = 'EMAIL' THEN
    CNT_ACTION ELSE 0 END AS "R",
    CASE WHEN ACTION_GROUP = 'MAINT' AND ACTION_TYPE = 'EMAIL'
    AND STAGE = 'Reminder' THEN CNT_ACTION ELSE 0 END AS "S",
    CASE WHEN ACTION_GROUP = 'MAINT' AND ACTION_TYPE = 'EMAIL'
    AND ACTION_SUBTYPE LIKE '%F/U%' AND
    (STAGE = 'Non-Responder' OR STAGE = 'Follow-Up') THEN
    CNT_ACTION ELSE 0 END AS "T",
    CASE WHEN ACTION_GROUP = 'AFTER_SERVICE' AND ACTION_TYPE = 'EMAIL' THEN
    CNT_ACTION ELSE 0 END AS "T2",
    CASE WHEN ACTION_GROUP = 'SEASONAL' AND ACTION_TYPE = 'EMAIL' THEN
    CNT_ACTION ELSE 0 END AS "U",
    CASE WHEN ACTION_GROUP = 'MAINT' AND ACTION_TYPE = 'EMAIL'
    AND STAGE = 'Bring-em-back' THEN CNT_ACTION ELSE 0 END AS "V",
    CASE WHEN ACTION_GROUP = 'MAINT' AND ACTION_TYPE = 'EMAIL'
    AND STAGE = 'Last Chance' THEN CNT_ACTION ELSE 0 END "W",
    CASE WHEN ACTION_GROUP = 'MAINT' AND MEDIA_TYPE = 'Dynamic Message'
    AND STAGE = 'Pre-Reminder' THEN CNT_ACTION ELSE 0 END AS "Y",
    CASE WHEN ACTION_GROUP = 'THANKS' AND MEDIA_TYPE = 'Dynamic Message'
    AND ACTION_TYPE = 'PHONE' THEN CNT_ACTION ELSE 0 END AS "Z",
    CASE WHEN ACTION_GROUP = 'VOW' AND MEDIA_TYPE = 'Dynamic Message'
    AND ACTION_TYPE = 'PHONE' THEN CNT_ACTION ELSE 0 END AS "AA",
    CASE WHEN ACTION_GROUP = 'MAINT' AND ACTION_TYPE = 'PHONE'
    AND STAGE = 'Reminder' THEN CNT_ACTION ELSE 0 END AS "AD",
    CASE WHEN ACTION_GROUP = 'MAINT' AND ACTION_TYPE = 'PHONE'
    AND ACTION_SUBTYPE LIKE '%F/U%' AND
    (STAGE = 'Non-Responder' OR STAGE = 'Follow-Up') THEN
    CNT_ACTION ELSE 0 END AS "AE",
    CASE WHEN ACTION_GROUP = 'CSI_SALES' AND ACTION_TYPE = 'PHONE'
    AND ACTION_SUBTYPE = 'NEWVEH' THEN CNT_ACTION ELSE 0 END AS "AF",
    CASE WHEN ACTION_GROUP = 'VOW' AND ACTION_TYPE = 'PHONE'
    AND ACTION_SUBTYPE = 'VOW_SVY' THEN CNT_ACTION ELSE 0 END AS "AG",
    CASE WHEN ACTION_GROUP = 'CSI_SERVICE' AND ACTION_TYPE = 'PHONE'
    AND ACTION_SUBTYPE = 'CP' THEN CNT_ACTION ELSE 0 END AS "AH",
    CASE WHEN ACTION_GROUP = 'CSI_SERVICE' AND ACTION_TYPE = 'PHONE'
    AND ACTION_SUBTYPE = 'WAR' THEN CNT_ACTION ELSE 0 END AS "AI"
    FROM
    ACT_HIST
    GROUP BY PART_DEALERID
    SELECT
    BO.ORG_ID AS "E", --Dealer ID
    BO.X_NGR_MFG_DLR_CODE AS "F", --Mfg ID
    BO.NAME AS "G", --Dealer Name
    ACTCNTS."H" AS "H", --Thank You Mailers
    ACTCNTS."I" AS "I", --Visiting Owners Mailers
    ACTCNTS."J" AS "J", --Reminder Mailers
    ACTCNTS."K" AS "K", --Non-Responder Mailers
    ACTCNTS."L" AS "L", --ASTY Mailers
    ACTCNTS."M" AS "M", --Seasonal
    ACTCNTS."N" AS "N", --Bring-em-Back Mailers
    ACTCNTS."O" AS "O", --Chance Mailers
    ACTCNTS."P" AS "P", --Total Mailers
    ACTCNTS."Q" AS "Q", --Thank You Emails
    ACTCNTS."R" AS "R", --Visiting Owner Emails
    ACTCNTS."S" AS "S", --Reminder Emails
    ACTCNTS."T" AS "T", --Non-Responder Emails
    ACTCNTS."T2" AS "U", --ASTY Emails
    ACTCNTS."U" AS "V", --Seasonal Emails
    ACTCNTS."V" AS "W", --Bring-em Back Emails
    ACTCNTS."W" AS "X", --Chance Emails
    ACTCNTS."X" AS "Y", --Total Emails
    ACTCNTS."Y" AS "Z", --Pre-Reminder Dynamic Msg
    ACTCNTS."Z" AS "AA", --Thank You Dynamic Msg
    ACTCNTS."AA" AS "AB", --Visiting Owner Dynamic Msg
    ACTCNTS."AB" AS "AC", --Total Dynamic message
    ACTCNTS."AD" AS "AD", --Reminder Phone Contacts
    ACTCNTS."AE" AS "AE", --Non-Responder Phone Contacts
    ACTCNTS."AF" AS "AF", --New Vehicle Survey
    ACTCNTS."AG" AS "AG", --Visiting Owner Survey
    ACTCNTS."AH" AS "AH", --After Service CP Survey
    ACTCNTS."AI" AS "AI", --After Service WP Survey
    ACTCNTS."AJ" AS "AJ", --Total Count of Phone Contacts     
    SYSDATE
    FROM
    SA.TABLE_BUS_ORG BO
    LEFT OUTER JOIN ACTCNTS
    ON BO.ORG_ID = ACTCNTS.PART_DEALERID
    WHERE BO.ORG_ID = '00333'--(BO.ORG_ID = '{?Dealer}' or '{?Dealer}' = 'ALL')
    ORDER BY
    BO.ORG_ID;

    1 - This is not a free support forum (see 'Terms and conditions' at the bottom of each page)
    2 - In a forum of volunteers there is no such thing as 'urgent'. If it is really urgent visit My Oracle Support (paid service) and submit a SR
    3 - The code you posted is fully unreadable. You also didn't provide table definitions. The location of the ORA-1722 is unclear.
    Do you really think anyone is going to look at the junk you posted? If you think so, your expectations are incorrect.
    Sybrand Bakker
    Senior Oracle DBA

  • Strip port number from request

    We recently upgraded our network and proxy servers. After the upgrade the proxy started adding port number of the origin web server to the request.
    For example www.xxx.com became www.xxx.com:85 if backend web server was listening to alteon on port 85.
    The response from the web server is keeping the port number. We would like to strip the port number off. www.xxx.com:85/foo -> www.xxx.com/foo.
    This is only affecting us adversely in 301 and 302 redirects where we have to give new url to client
    Message was edited by:
    mshamber001

    Ideally, the reverse proxy should be configured to correctly rewrite URLs for the servers it's reverse proxying. (For example, Sun Java System Web Server Proxy 4.0 can be used as a caching reverse proxy and load balancer. It will automatically rewrite the URLs used in 301 and 302 redirects.)
    If for some reason it's not possible to configure the reverse proxy correctly, you can tell Web Server 7.0 which port to use in redirects using the <server-name> element in server.xml:<server-name>www.example.com:80</server-name>If you're using Web Server 6.1 (SP2 or higher), you must instead use the servername attribute in server.xml:<LS ... servername="www.example.com:80" />

  • Insane Object error while saving: Can i identify case from error message?

    Hi,
    I get the following message "Insane Object at BDHP+36C8c in "Data Logger.vi"{graphics}(0x80):Wire Segment (WIRE). I have seen errors like this in the past. It usually happens when the wire gets coiled like a snake or gets behind a place that cannot be viewed etc. The last time i had the problem, i had to delete the wire and rewire to have the problem solved. Is there any way for me to identify the case that has this wiring problem from the error description? I get this annoying dialog everytime i save my vi. Thanks for your time in advace.
    Anand.

    The message means there is a problem with an object on the block diagram (the BD of BDHP). Fixes include copying the diagram to a new VI, and randomly deleting objects and replacing them. You might also try pressing control-shift-run arrow on the VI to perform a binary recompile of the VI. It is a long shot but it is quick and easy do do. Ususally you will not see anything happen but occasionally LabVIEW can highlight the error or even correct it.

Maybe you are looking for