Display all values that bad

I have a calendar with this SQL query to get all action items. The last condition is on the last line that pulls up all projects related to this activity of monitoring based on a value in the page. The value is stored in the field 'P133_PROJECT_CAT '.

Select EBA_PROJ_STATUS_AIS.ID as ID,

EBA_PROJ_STATUS_AIS. Project as project,

EBA_PROJ_STATUS_AIS.MILESTONE_ID as MILESTONE_ID,

EBA_PROJ_STATUS_AIS. ACTION as ACTION,

EBA_PROJ_STATUS_AIS. End_date as end_date,

EBA_PROJ_STATUS_AIS. ACTION_STATUS as ACTION_STATUS,

EBA_PROJ_STATUS_AIS. CREATED as CREATION,

EBA_PROJ_STATUS_AIS. CREATED_BY as CREATED_BY,

EBA_PROJ_STATUS. PROJECT within the PROJECT,

EBA_PROJ_STATUS_AIS_TYPES. AI_TYPE as AI_TYPE,

EBA_PROJ_STATUS_MS.MILESTONE_NAME as MILESTONE_NAME,

EBA_PROJ_STATUS.CAT_ID as CAT_ID

of EBA_PROJ_STATUS_MS EBA_PROJ_STATUS_MS,.

EBA_PROJ_STATUS_AIS_TYPES EBA_PROJ_STATUS_AIS_TYPES,

EBA_PROJ_STATUS EBA_PROJ_STATUS,

EBA_PROJ_STATUS_AIS EBA_PROJ_STATUS_AIS

where EBA_PROJ_STATUS_AIS. PROJECT = EBA_PROJ_STATUS.ID

and EBA_PROJ_STATUS_AIS. TYPE_ID = EBA_PROJ_STATUS_AIS_TYPES.ID

and EBA_PROJ_STATUS_AIS.MILESTONE_ID = EBA_PROJ_STATUS_MS.ID

and EBA_PROJ_STATUS.CAT_ID =: P133_PROJECT_CAT

I have the setup of "P133_PROJECT_CAT" of field as a field on the page where, when a value is selected, it works very well and shows all the items/projects action for this page. However, if I select the value '- all categories -' it must pass a 0 that must be null and see all categories.

Question: what needs this final line (and EBA_PROJ_STATUS.CAT_ID =: P133_PROJECT_CAT) look like so that "0 = all values"?

and (EBA_PROJ_STATUS.CAT_ID =: P133_PROJECT_CAT or : P133_PROJECT_CAT = 0)

Tags: Database

Similar Questions

  • Setting: display all values currently available - disabled

    Hello

    I want to show the value of parameter of an another table/folder.

    Such as:

    I created a spreadsheet of the EMP and DEPT/Table of records:

    SELECT E.Emp_Name, D.Dept_Name

    FROM Emp E, Dept. D

    WHERE E.Dept_ID = D.Dept_ID

    Question:

    1. How can I view Dept_ID (s) available in the EMP Table as an input parameter?
    2. If I can show Dept_Name to select between but Dept_ID and take as an input parameter?

    When I try to create the D.Dept_ID parameter 'Display all values currently available' option shows disabled and cannot be selected.

    Help, please.

    Thanks in advance.

    Manny

    I found the answer: How to insert the list of values (LOV) in Discoverer Desktop

    Thank you

  • Group by Clause displays all values search

    Hello friends

    I have a simple table with columns named Date, reason, product and County and the sample data are shown below.

    ==========================
    Date reason product count
    ==========================
    08/06/2012 raison1 home 1
    08/07/2012 raison2 motor 1
    08/08/2012 raison1 home 1
    08/09/2012 Reason3 Home 2
    08/10/2012 raison1 home 1
    08/06/2012 Reason5 home 1
    ===========================

    Altogether, I have 5 values of research through Reason5 raison1 reason, but few of them understand the table above.
    I would like to diplay result per day and I will quote an example of August 6, I want to display the result below, i.e. show all reason 5 search and assign zero count if there are no records for this day there.

    =====================================
    DATE REASON HOME_COUNT MOTOR_COUNT
    =====================================
    08/06/2012 raison1 1-0
    08/06/2012 0 1 raison2
    08/06/2012 Reason3 0 0
    08/06/2012 Reason4 0 0
    08/06/2012 Reason5 1 0
    =====================================


    If we write group by clause, missing for reasons such as Reason3 Reason4 will not appear in the result set.
    And I tried to write several UNION ALL queries to get the above result that works very well, but if it 100 search values, I don't want to write 100 Union queries.
    Please let me know if you have analytical functions to display the results of the end?

    Thank you
    Murali.

    Published by: Nathalie b on August 19, 2012 20:17

    If you followed relational design, you should lookup table. If you do not, you need to create a. In addition, date is reserved word, and the County is a key word, to not use as column names. Then, use the outer join:

    SQL> create table tbl as
      2  select to_date('06/08/2012','dd/mm/yyyy') dt,'Reason1' reason,'Home' product,1 qty from dual union all
      3  select to_date('07/08/2012','dd/mm/yyyy'),'Reason2','Motor',1 from dual union all
      4  select to_date('08/08/2012','dd/mm/yyyy'),'Reason1','Home',1 from dual union all
      5  select to_date('09/08/2012','dd/mm/yyyy'),'Reason3','Home',2 from dual union all
      6  select to_date('10/08/2012','dd/mm/yyyy'),'Reason1','Home',1 from dual union all
      7  select to_date('06/08/2012','dd/mm/yyyy'),'Reason5','Home',1 from dual
      8  /
    
    Table created.
    
    SQL> create table reason_list as
      2  select  'Reason' || level reason from dual connect by level <= 5
      3  /
    
    Table created.
    
    SQL> select  d.dt,
      2          r.reason,
      3          nvl(
      4              sum(
      5                  case product
      6                    when 'Home' then qty
      7                  end
      8                 ),
      9              0
     10             ) home_qty,
     11          nvl(
     12              sum(
     13                  case product
     14                    when 'Motor' then qty
     15                  end
     16                 ),
     17              0
     18             ) motor_qty
     19    from      (
     20               select  min_dt + level - 1 dt
     21                 from  (
     22                        select  min(dt) min_dt,
     23                                max(dt) max_dt
     24                          from  tbl
     25                       )
     26                 connect by level <= max_dt - min_dt + 1
     27              ) d
     28          cross join
     29              reason_list r
     30          left join
     31              tbl t
     32            on (
     33                    t.dt = d.dt
     34                and
     35                    t.reason = r.reason
     36               )
     37    group by d.dt,
     38             r.reason
     39    order by d.dt,
     40             r.reason
     41  /
    
    DT        REASON                                           HOME_QTY  MOTOR_QTY
    --------- ---------------------------------------------- ---------- ----------
    06-AUG-12 Reason1                                                 1          0
    06-AUG-12 Reason2                                                 0          0
    06-AUG-12 Reason3                                                 0          0
    06-AUG-12 Reason4                                                 0          0
    06-AUG-12 Reason5                                                 1          0
    07-AUG-12 Reason1                                                 0          0
    07-AUG-12 Reason2                                                 0          1
    07-AUG-12 Reason3                                                 0          0
    07-AUG-12 Reason4                                                 0          0
    07-AUG-12 Reason5                                                 0          0
    08-AUG-12 Reason1                                                 1          0
    
    DT        REASON                                           HOME_QTY  MOTOR_QTY
    --------- ---------------------------------------------- ---------- ----------
    08-AUG-12 Reason2                                                 0          0
    08-AUG-12 Reason3                                                 0          0
    08-AUG-12 Reason4                                                 0          0
    08-AUG-12 Reason5                                                 0          0
    09-AUG-12 Reason1                                                 0          0
    09-AUG-12 Reason2                                                 0          0
    09-AUG-12 Reason3                                                 2          0
    09-AUG-12 Reason4                                                 0          0
    09-AUG-12 Reason5                                                 0          0
    10-AUG-12 Reason1                                                 1          0
    10-AUG-12 Reason2                                                 0          0
    
    DT        REASON                                           HOME_QTY  MOTOR_QTY
    --------- ---------------------------------------------- ---------- ----------
    10-AUG-12 Reason3                                                 0          0
    10-AUG-12 Reason4                                                 0          0
    10-AUG-12 Reason5                                                 0          0
    
    25 rows selected.
    
    SQL> 
    

    SY.

  • If the default as invited "All values" in a Variable of presentation

    Hello Experts,
    is it possible to set the default value for filtering on a Variable presentation for all the choices? Because when you select all the choices, I get no results.

    Thank you
    Concerning

    Detection of all choice of dashboard invites you into the answers
    http://108obiee.blogspot.com/2009/04/detecting-all-choices-from-dashboard.html

    See the link above, it also describes how to make a filter to display all values when you use the variable to the presentation and all the choices.

    Concerning
    Goran
    http://108obiee.blogspot.com

  • Manager of recovery, recovery of factory default setting will replace all deletions that I had bad sector?

    Hello, I am curious of recovery manager and what he does.

    recently, I had my old hdd removed due to the increase of bad sectors. I tried using the recovery dvd system I orderd from hp website, but it does not work on my new hard drive, so I had to clone my old hdd to use. while I was with the old hdd I had to run chkdsk a lot and I've seen little of window/systm /... listed as problem and it was removed (?).

    I want to assure you that my new hard drive has no problem after recovering to the factory setting. (I chkdsk raned before I clone my old hdd)

    Recovery Manager replace all of these bad sector remove I saw on chkdsk?

    @Forblindmice ,

    Hello and thanks for the display on the HP support forums.  The recovery will not recover the lost areas.  All the data that has been lost are lost unless you run with some special type of recovery software, and is not always a win.

    Once you have a bad sectors unless you use a type of equipment at low level software format to remap sectors that they will always be there.

    What I would do is pull the drive and put it in another computer and get all your data off it.

    Once you get what you can out of the drive, then you can see if there is software out there to low level format and then try to get HP support by phone recovery media to reload your operating system.

    I would consider replacing the drive so.  If you start getting bad sectors, it is usually mechanical and will result in a total crash some time soon.

  • Windows Explorer - list: how to set the default value to display all the contents of the folder 'List' not 'Tiles '.

    Using the Windows Explorer of Windows 7, how I have by default set to display all the contents of the folder 'List' not 'Tiles '.  I want set a default value for the new folders and edit globally all folders that I have.

    Thank you, Steve

    Hi Steve Menker,.

    Visit the links that measures to work with files and folders in Windows Explorer below:

    1. working with files and folders:http://windows.microsoft.com/en-US/windows7/Working-with-files-and-folders

    2. change the folder options:http://windows.microsoft.com/en-US/windows7/Change-folder-options

    3. organize, sort, or group your files:http://windows.microsoft.com/en-US/windows7/Arrange-sort-or-group-your-files

    With regard to:

    Samhrutha G S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Where is the past, bookmark button that displays all THE bookmarks as a drop-down list?

    I had to reinstall my OS, and now I don't see the big 'Favorites' button, I got to the right of the search box Google with Firefox.
    It is with the value 'Icons' of icons.
    I use to be able to click on "Favorites" and they appear in a drop-down list, like 'latest news' power works.
    I can click the Favorites (with the star on this subject), who comes here to open a sidebar - not a menu drop-down which disappears when I clicked it.

    I loaded Windows 7 and took some quick screenshots for you:
    http://tinyurl.com/3c7ouvs

    Also note that it only shows the bookmarks menu button if you use the Firefox menu button and not the classic menu bar, because it would be quite redundant to have a button and the bookmarks at the top menu which does exactly the same thing.

    Look at what you have in the toolbar and what is in the window customize (you may need to scroll down). If you have one in the toolbar then the other is probably in the window customize somewhere. If you have a lot of addons installed there may be many buttons to look through.

    If you have problems you can just click on the 'Restore Default Set' button in the Customize dialog box to restore the default values that will also involve of the bookmarks that you want to switch all your toolbars. If you had any other customizations to your toolbars and then change them back again.

  • I just started using my new iMac 27 "and in Mail, I can't find the setting to display a column that shows the number of emails in each folder.  Mavericks, I had this column.  I have checked all the menus and preferences and search online.

    I just started using my new iMac 27 "and in Mail, I can't find the setting to display a column that shows the number of emails in each folder.  Mavericks, I had this column.  I have checked all the menus and preferences and search online.

    Click the triangle next to the Inbox to view the Inbox for each account. Then select the desired mailbox and the information will be displayed in the upper part.

    You are entitled to 90 days telephone support from Apple. Try to contact them.

    Apple Support contact

    Apple Support by email or chat

    Contact Apple Support - phone

  • How to display this window that lists all the devices of storage connected to my PC?

    How to display this window that lists all the devices of storage connected to my PC? It lists each device, how much space is used and how much is free? I sometimes open it by accident, but I can never find it when I'm looking for it.

    original title: storage devices

    Beginning

    Control Panel

    If you the small icons view do the following:

    Administration tools

    Computer management

    Storage

    Disk Managment

    If you have the category view do the following:

    System and security

    Administration tools

    Computer management

    Storage

    Disk management

  • Not sure how to display all the applications that I'm supposed to have with the creative cloud - constant spin in the window? [was: creative cloud]

    Trying to download my creative cloud, but get a constant rotation in the window. Not sure how to display all the applications that I'm supposed to have with the creative cloud?

    Please visit: App does not open. Wheel of progress turn continuously

    I hope this helps.

    Concerning

    Megha Rawat

  • I'm filling out a form that is available on a site. When I click on the option to fill out and submit the form 'online' a pdf document is displayed in chrome with the following text "to display all of the content of this document, you need a later version

    I'm filling out a form that is available on a site. When I click on the option to fill out and submit the form 'online' a pdf document is displayed in chrome with the following text

    «To display all of the content of this document, you need a later version the viewer PDF.» You can upgrade to the latest version of Adobe Reader from www.adobe.com/products/acrobat/readstep2.html for further support, go to www.adobe.com/support/products/acrreader.html"

    Needless to day, I installed the latest version. I even reinstalled using the link in the message, but nothing helped. Whenever I click on the link to go forward, I get the same message. Question: (i) is it my PC/software (Vista), (ii) is the site where I'm trying to submit the form, or (iii) is it the software acrobat reader. Note that I used successfully the last version to fill out and sign forms.

    It is none of them. It's Chrome, which is ignoring Adobe Reader and showing the message.

    Solution: just save the document (with the message) to your desktop. Then open it in Adobe Reader. The 'real' should then display.

  • OPS matester detail page: how to have a "Display all" feature on the screen, so that all the master records and details are developed.


    Hello

    I was trying to get a function "SHOW ALL" on the master - detail page

    the detail table is a table of advancec.

    Please help me with entries on how to make the feature "SHOW ALL",

    Currently, you must click on ': show ' for each record to the master level to display the data of the child.

    Trying to reach 'Show all' then featured on click this key records on the page "expands" showiing master records with respective detail records.

    Concerning

    bhuvanm

    Hello

    You should not set DetailFlag = 'Y' in the whereclause, because there is no such record.

    Also detail flag are transitional attribute and not the query column, hence the error "invalid identification Code.

    I asked you to use DetailFlag as a column of query with the static value 'Y '.

    for example:

    SELECT 'Y' detail_flag

    Of

    This will display all the records in the table in expanded format. If you want conditionally then use decoding on some binding settings.

    For example:

    SELECT DECODE (: 1, "SHOWALL", "Y", "N") detail_flag

    Of

    This connection parameter must be passed each time you want to run the query for the table.

    Kind regards

    Sandeep M.

  • Hello... I have a subscription plan on CC and notified just updates are available, so I've updated bridge CC of PS, CC2014 PS and Lightroom 5. All updates have been successful but now CC PS displays a button that says trial start. All applications say ' d

    Hello... I have a subscription plan on CC and notified just updates are available, so I've updated bridge CC of PS, CC2014 PS and Lightroom 5. All updates have been successful but now CC PS displays a button that says trial start. All applications say ' day '. I'm on a Macbook Pro running the Mavericks. All advice appreciated. Thank you

    You can go to help > disconnect... restart PS and if you see "buy this product", click that and connect.

    You can also disconnect from Creative Cloud Desktop app (gear icon > account preferences > Déconnexion restart your computer and log in.)

    Ask in the forum of creative cloud Adobe Creative Cloud

    So those who fail. You must contact the Support by chat or phone

    Contact the customer service

    Gene

  • Chart display problems - cut off the end or shows not all values

    I have a file I/O reads database table where I can choose a date range to view history, and I can't seem to format correctly.

    If I set the width of the graph large enough to show all values, it cuts the right part.

    Width 1200, the value date of end 10/01/2014, shows only until September 24:

    fileio.jpg

    Width set at 1700, will now interrupt the rightmost in the values:

    fileio1.jpg

    Obviously, I want the best of both worlds - when the date range is selected, it shows all the values and fits in the chart area.

    Any ideas?

    Create a diagram with scrolling.

    Under the item add something like:

  • permanently delete messages "additional plugins are required to display all the media on this page.

    Delete message "additional plugins are required to display all the media on this page" permanently. I have no use for ANY Adobe product, either. None are allowed on my network, period. I'm tired of this message. The absence of the FLASH plugin is what triggers it. However, the absence of the plugin is a good thing and that the plugin is totally unnecessary and absolutely not desired.

    You can inspect and change this pref on the subject: config page.

    • the pref plugins.hide_infobar_for_missing_plugin true value

Maybe you are looking for