EXPECTED TANK got the NUMBER

I get an error message (ORA-00932: inconsistent data types: expected TANK got the NUMBER) the formula below. What part of this formula expects a TANK?

CASE

WHEN "register - College". "F language of correspondence of the measures '." "' Preferred Language French (#)" = 0 THEN 'any English. "

WHEN "register - College". "F language of correspondence of the measures '." "" Favorite of English (#) "= 0 THEN 'all the French."

ANOTHER "registration - College". "F language of correspondence of the measures '." "' Preferred Language French (#)" / "registration - College". "F language of correspondence of the measures '." "" Favorite of English (#).

END

What the error means is that your column is a CHAR (or VARCHAR) mainly because the first options of your CASE WHEN returning a text value, but then you have a division, a return number. Must choose (a) change the first 2 rows a number or (b) cast the result of the division of a char/varchar.

Tags: Business Intelligence

Similar Questions

  • -Error ORA-00932: inconsistent data types: expected TANK got the NUMBER

    Here is my report query...
    select 
    *
    from   DW_RFA_JOBDATA
    where  FINISH_TIME >= :P1_START_DATE 
    and FINISH_TIME < :P1_END_DATE
         AND RFA_FLAG = (CASE :P1_JOB_CLASSIFICATION WHEN '0' THEN 'LSF'
                                      WHEN '1' THEN 'NON-LSF' 
                                      ELSE RFA_FLAG END)
    The column data type RFA_FLAG is NUMBER(*,0)... I'm view RSA and RSA - not the area of selection, but I get the error ORA-00932: inconsistent data types: expected TANK got the NUMBER >

    I have created a static LOV with LST display 0 return
    Display NON - RSA 1 return...

    Could any body please help me in truble shooting error? How to to convert the data type to number, I have no privileges to make changes to the table...

    Mark you my previous answer as correct? (MOST POINTS!  :))

  • ORA-00932: inconsistent data types: expected DATE got the NUMBER

    SELECT DISTINCT NVL (jtf.NAME, 'No Sales Credit') NAME, ract.customer_trx_id,
                    ract.trx_number, ract.bill_to_customer_id,
                    NVL (ract.primary_salesrep_id, -3) primary_salesrep_id,
                    rac.customer_name custname,
                    /*xx_nyl_sa_order_type
                                           (NVL (ract.ship_to_site_use_id,
                                                 ract.bill_to_site_use_id
                                                ),
                                            DECODE (ract.ship_to_site_use_id,
                                                    NULL, 'B',
                                                    'S'
                                                   )
                                           ) S_TYPE,RACTL.INTERFACE_LINE_ATTRIBUTE2,*/
                    xx_nyl_cust_address
                                       (NVL (ract.ship_to_site_use_id,
                                             ract.bill_to_site_use_id
                                            ),
                                        DECODE (ract.ship_to_site_use_id,
                                                NULL, 'B',
                                                'S'
                                               )
                                       ) address,
                      NVL (ractl.extended_amount, 0)
                    * NVL (ract.exchange_rate, 1) itm_sales,
                      NVL (ractl.quantity_invoiced, 0)
                    + NVL (ractl.quantity_credited, 0) qty,
                    item_dtl.itemid itemid, item_dtl.itemno itemno,
                    item_dtl.segment2, item_dtl.segment3,
                    item_dtl.attribute7 attribute7,
                    item_dtl.attribute8 attribute8,
                    item_dtl.attribute12 attribute12, item_dtl.itemdesc itemdesc,
                    ractl.inventory_item_id invid,
                --ract.ship_to_site_use_id,
    --                ract.bill_to_site_use_id,
                                                  ractl.customer_trx_line_id
               FROM ra_customer_trx_all ract,
                    ra_customer_trx_lines_all ractl,
                    jtf_rs_salesreps jtf,
                    ra_customers rac,
                    ra_cust_trx_types_all ractt,
                    hr_all_organization_units hr,
                    (SELECT DISTINCT iim.item_id itemid,
                                     msi.inventory_item_id invid,
                                     iim.item_no itemno,
                                     stk_dtl.segment2 segment2,
                                     stk_dtl.segment3 segment3,
                                     iim.attribute7 attribute7,
                                     iim.attribute8 attribute8,
                                     iim.attribute12 attribute12,
                                     iim.item_desc1 itemdesc
                                FROM ic_item_mst iim,
                                     mtl_system_items_b msi,
                                     (SELECT mtl.segment2, mtl.segment3,
                                             gmi.item_id
                                        FROM mtl_categories_b mtl,
                                             fnd_id_flex_structures_vl fndi,
                                             gmi_item_categories gmi
                                       WHERE gmi.category_id = mtl.category_id
                                         AND fndi.id_flex_structure_name =
                                                                      'Item Group'
                                         AND fndi.id_flex_num = mtl.structure_id) stk_dtl
                               WHERE iim.item_no = msi.segment1
                                 AND stk_dtl.item_id = iim.item_id) item_dtl
              WHERE ract.customer_trx_id = ractl.customer_trx_id
                AND ractl.line_type = 'LINE'
                AND ract.cust_trx_type_id = ractt.cust_trx_type_id
                AND hr.organization_id = ractl.org_id
                AND JTF.ORG_ID = RACT.ORG_ID
    --       AND ractl.inventory_item_id = 8880
                AND item_dtl.invid = ractl.inventory_item_id
                AND ractt.default_status NOT LIKE 'VD'
                AND ractl.inventory_item_id IS NOT NULL
                AND jtf.salesrep_id(+) = ract.primary_salesrep_id
                AND rac.customer_id = ract.bill_to_customer_id
                AND NVL
                       (ractl.interface_line_attribute2,
                        NVL
                           (xx_nyl_sa_order_type
                                                (NVL (ract.ship_to_site_use_id,
                                                      ract.bill_to_site_use_id
                                                     ),
                                                 DECODE (ract.ship_to_site_use_id,
                                                         NULL, 'B',
                                                         'S'
                                                        )
                                                ),
                            'Order'
                           )
                       ) =
                       NVL
                          (:p_sales_type,
                           NVL
                              (ractl.interface_line_attribute2,
                               NVL
                                  (xx_nyl_sa_order_type
                                                (NVL (ract.ship_to_site_use_id,
                                                      ract.bill_to_site_use_id
                                                     ),
                                                 DECODE (ract.ship_to_site_use_id,
                                                         NULL, 'B',
                                                         'S'
                                                        )
                                                ),
                                   'Order'
                                  )
                              )
                          )
                AND NVL (jtf.NAME, 'No Sales Credit')
                       BETWEEN NVL (:p_salesmen_from,
                                    NVL (jtf.NAME, 'No Sales Credit')
                                   )
                           AND NVL (:p_salesmen_to,
                                    NVL (jtf.NAME, 'No Sales Credit')
                                   )
                AND rac.customer_name BETWEEN NVL (:p_customer_from,
                                                   rac.customer_name
                                                  )
                                          AND NVL (:p_customer_to,
                                                   rac.customer_name
                                                  )
                AND trunc(ract.trx_date) BETWEEN trunc(:p_year_from) AND trunc(:p_year_to)

    user9093700 wrote:

    TRUNC(ract.trx_date, 'YYYY') between :p_year_from and :p_year_to
    

    ORA-01843: not one month valid

    Well, you won't get definitive answers unless you provide the requested information.
    What type of p_year_from and data p_year_to?
    Guessing based on your last two answers, it is VARCHAR2, isn't it?
    Convert to date and compare:

    trunc(ract.trx_date) between to_date(:p_year_from,'DD/MM/YYYY') AND to_date(:p_year_to,'DD/MM/YYYY')
    

    That said, store dates as string is a major shortcoming. Consider to store and maintain dates in the form of dates.

  • Try to download the 14 items, I got the number of series, but when I click on the download button, what happens to about 90% and then I get the following message the signature of Download-Adobe-photoshop-Elements-14-(windows)(6).exe is damaged or invalid.

    I try to install Photoshop elements 14, I have the serial number. but when I try to download it happens to almost 90% and then stops I get the message after the signing of the Download-Adobe-Photoshop-Elements-14-(windows)(6). exe is corrupted or invalid. I am running windows 10 ideas where to go from here please

    If you have a corrupted downloads, use a different browser, different wired connection or a download manager.

  • Hi, I have a pro license adobe acrobat I got the number of the purchase, I wolud it to the registry and download

    [deleted-kglad]


    Available downloadable Setup files:

    Download and installation help links Adobe

    Help download and installation to Prodesigntools links can be found on the most linked pages.  They are essential; especially steps 1, 2 and 3.  If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".

  • Script to get the number of CPUS in evaluation mode.

    Hi team,

    I would like to know the total number of CPU which is in trial mode. The script that I created is as below.

    $ServiceInstance = get-view ServiceInstance

    $Eval = (get-View ($ServiceInstance |)) Select - 1 first). Content.LicenseManager | Select - ExpandProperty licenses? | {$_. Name - match "Evaluation Mode"} | check the used box | Measure - Object - property used - sum). Sum

    Write-host "$Eval".

    By using this format, I got the number of licensed processors, but cannot get to the evaluation mode, do not know what is missing.

    Can someone help me please.

    Power required:

    If there are 4 cottages with 2 CPU each running in evaluation mode, I need output like '8 '.

    It was my mistake...

    The entry is as below.

    $ServiceInstance = get-view ServiceInstance

    $Eval = (get-View ($ServiceInstance |)) Select - 1 first). Content.LicenseManager | Select - ExpandProperty licenses? | {$_. Name - match "product evaluation"} | "" check the used box | Measure - Object - property used - sum). Sum

    Write-host "$Eval".

  • RoboHelp X 5 and the number of subjects

    Hi all

    I selected the themes tab in my RH X 5 project and selected all the headings, expecting to see the number of items in the status bar, but I can't. I inherited this HR project and am trying to understand how many topics, there.

    Looks like I should be able to resolve the issue because it is so simple, but I can't find the answer.

    Thank you
    Tech Communicator

    Hi Colum,

    Thanks a ton for the quick response! She rang a large Bell, but I used the options of reports when I was on RH 9 and it was 8-9 years ago, so I guess I can forgive me for forgetting. :-)

    Thanks again!

  • I tried to send an email and got the following message: an unknown error has occurred error number: 0x800CCC6F.

    Transaction failed.  Unable to send message. Possibility of abuse

    I tried to send an email and got the following message: an unknown error has occurred. Are subject: Hello from the UK', account: 'Martin', server: 'mail.btinternet.com', Protocol: SMTP, server response: 554 Transaction failed: cannot send the message due to the possibility of abuse. Please visit http://postmaster.yahoo.com/abuse_smtp.html for more information ', Port: 25, secure (SSL): no, Server error: 554, error number: 0x800CCC6F please can you advise what could be the problem?

    Hello

     
     
    1. what web browser do you use?   If you use Internet Explorer, what version you have?
    2. you use Yahoo mail?
    3. what anti-virus software is installed on your computer?

     
    "If you use Yahoo mail, I suggest you to report your request in the support forum for Yahoo mail.
    http://answers.Yahoo.com/dir/index?link=list&SID=396546091
     
  • I got a phone call from a person claiming to be from the care team of the windows service how they got my number

    I got a phone call from a person claiming to be from the care team of the windows service how they got my number and I took his number, I think it's fake

    Hello

    There are telephone directories, etc., etc.

    It's a SCAM

    they want or money on your part for programs without value or make an identity theft on you to get even more money and get your internet banking passwords and credit card information, you get allows you to download the software to 'fix' or 'test' for your computer

    read this:

    http://www.Microsoft.com/security/online-privacy/msName.aspx

    Microsoft has none of the unsolicited telephone calls to help you fix your computer

    In this type of scam cybercriminals are calling you and claim to be of Support technique Microsoft. They offer help with your computer problems. Once scammers have earned your trust, they try to steal and damage your computer with malicious software, including viruses and spyware.

    Although the law enforcement can trace phone numbers, often authors use pay telephones, disposable cell phones or stolen cellular phone numbers. Better avoid fooling themselves rather than try to repair the damage afterwards.

    Treat all unsolicited sceptically telephone calls. Don't provide personal information.

    If you receive an unsolicited call from someone who claims to be from Technical Support Microsoft, hang up. We do not have such calls.

    If you think you might be a victim of fraud, you can report it. For more information, see: what to do if you think you have been scammed.

  • Got the order number but not redemption!

    I ordered the educational version of creative suite and received an order number by email, but no serial number or redemption have not been able to find or activate.  I got an email saying: I bought the product and got an order number, but the product does not appear in my plans.  I was not able to find a way to activate. I have read the forums, but none mentioned how to know the number of redemption with only the order number.  Help, please. Thank you.

    This is an open forum, not Adobe support... Click below to contact Adobe staff for help

    While the forums are open 24/7 you can't contact Adobe support at any time

    Chat support: Mon - Fri 05:00-19:00 (US Pacific Time) <===> NOTE DAYS AND TIME

    Don't forget to stay signed with your Adobe ID before accessing the link below

    Creative cloud support (all creative cloud customer service problems)

    http://helpx.Adobe.com/x-productkb/global/service-CCM.html

  • I just bought a version of lightroom upgrade 6 (mac, upgrade from lightroom 4) and began the process of installation, but when I entered the serial number of the previous version, I got the message "the serial number you entered is not valid. Please try

    I just bought a version of lightroom upgrade 6 (mac, upgrade from lightroom 4) and began the process of installation, but when I entered the serial number of the previous version, I got the message "the serial number you entered is not valid. Please try again. If the problem persists, contact customer service. The number I entered is correct - I checked against the original package and on the products of my adobe account page, and I get the error message even if I try to enter the serial number of the version of lightroom 3 I had before. I am at a loss to understand what I can do: I paid for this product, but I can't install it. The only thing I can think is that the lightroom 4A was purchased from an old computer, but it has migrated successfully to my current imac, as surely, it should work.

    Problem is resolved now - it's due to my misunderstanding of what was required, and enter the serial number of the previous version (as an upgrade) instead of the serial number of the version I had to buy). My apologies for my mistake and thank you for your time.

  • Can't export an internal error has occurred: bad argument #1 to 'find' (string expected, got the draw)

    Cannot export

    An internal error has occurred: bad argument #1 to 'find' (string expected, got the draw)

    No one can tell you anything. Your track is not the least useful info like what is exported from which program on which system and so on.

    Mylenium

  • Need help to reactivate Lightroom 5 with my old serial number and the number TAN.  I got a license for Lightroom 5 when I bought my Leica delux 4 in 2012.

    I got a license for Lightroom 5 when I bought my Leica delux 4 in 2012. It worked great, but after that I put an old hard drive on my PC (for 30 minutes - then I removed again) to get some information of this former, Lightroom now license application or try it for 30 days.

    I have not installed Lightroom on a new hard drive. He is always on the same hard disk. How can I now have my Lightroom to run again using my serial number and TAN? Need help to reactivate my old serial number and the number TAN.

    I use win 7.

    Duplicate thread: need help to reactivate Lightroom 5 with my old serial number and the number TAN.  I got a license for Lightroom 5 when I bought my Leica delux 4 in 2012.

  • I got the Adobe Master Suite Version 6 in 2012. I try to reinstall and when I enter my serial number that I registered previously, he said that it is an incorrect serial number. I know that this isn't because I've used it before. How can t

    I got the Adobe Master Suite Version 6 in 2012. I try to reinstall and when I enter my serial number that I registered previously, he said that it is an incorrect serial number. I know that this isn't because I've used it before. How can this be? What should I do?

    Make sure you try to activate the right version of the software.

    Error "serial number is not valid for this product". Creative Suite

    http://helpx.Adobe.com/Creative-Suite/KB/error-serial-number-valid-product.html

    Find the serial number of your Adobe product quickly

  • I've entered the redemption code and got the serial number, but when I enter it, it is not valid?

    I got photoshop elements 14 for Christmas and I am trying to install it.  I entered the redemption code and got the serial number, but when I go to download the software, it says it sucks - suggestions?

    You can also download the demo version of the software through the page linked below and then use your current serial number to activate it.

    Don't forget to follow the steps described in the Note: very important Instructions in the section on the pages of this site download and have cookies turned on in your browser, otherwise the download will not work correctly.

    Photoshop/Premiere Elements 14: http://prodesigntools.com/photoshop-elements-14-direct-download-links-premiere.html

Maybe you are looking for