How to display all the data using several parameters?

Hi all
I used a query as follows to display the data in a report:

Select col1, col2 / / col1 and col2 are columns of tabale tab1
of tab1
where
tab1.Col1 =
(case when: P_COL1 IS NOT NULL then / /: P_COL1 IS a USER SETTING to EQUAL COL1)
: ANOTHER P_COL1 tab1.col1
end)

AND TAB1. COL3 =
(case when: P_COL3 IS NOT NULL then / /: P_COL3 IS a USER SETTING to EQUAL COL3)
: ANOTHER P_COL3 tab1.col3
end)

The problem is when I run the report with the values of parameters or not, it shows the data that is not null for col1 and col3.
That is when the value of col1 or col3 is zero the report would not return this record!
I want the report to show all the data not just the values that is not null.
How to do this?

Men,

( :p_col1 is null or ( :p_col1 = tab1.col1 ) )
and
( :p_col2 is null or ( :p_col2 = tab1.col2 ) )
and
( :p_col3 is null or ( :p_col3 = tab1.col3 ) )

etc.

Kurz

Tags: Oracle Development

Similar Questions

  • How to display all the data to a database with the same name?

    I am familiar with the creation of basic website, but I want to learn how to create more dynamic Web sites.

    I create a Web site where a user can register on the site and counts there. Once into account here, there will be different options they can do.

    The new application form is in the section account it is configured for a user to submit a multiple application and save it in the database, that works, but the problem I have is during the examination of the application, it does show that one of them, not all.

    How can view the request of a user, sign in?datab.PNG

    revreq.PNG

    I can get to the screen, but not all.

    Is it possible to do this or any suggestions on how to do?

    Here's the code for the ReviewRequest:

    <? PHP require Connections/Connections.php"?" >

    <? PHP

    session_start();

    {if (isset($_SESSION["fname"]))}

    }

    else {}

    Header('Location:NewRequest.php');

    }

    ? >

    <? PHP

    $User = $_SESSION ['Pnom"];

    $result = $con-> query ("SELECT ALL * from newrequest where Fname ="$User"" ");

    $row = $result-> fetch_array (MYSQLI_BOTH);

    $_SESSION ["FirstName"] = $row ["Fname"];

    $_SESSION ['location'] = $row ["Location"];

    $_SESSION ['description'] = $row ['Description'];

    ? >

    <! doctype html >

    < html >

    < head >

    < link href = "CSS/Master.css" rel = "stylesheet" type = "text/css" / > "

    < link href = "CSS/Menu.css" rel = "stylesheet" type = "text/css" / > "

    < meta charset = 'utf-8 '.

    ReviewRequest < title > < / title >

    < / head >

    < body >

    < div class = "Container" >

    < div class = "Header" > < / div >

    < div class = "Menu" >

    < div id = 'Menu' >

    < nav >

    < ul class = "cssmenu" >

    < li > < a href = "Account.php" > account < /a > < /li > ""

    < li > < a href = "UpdateAccount.php" > update account < /a > < /li > ""

    < li > < a href = "NewRequest.php" > new request < /a > < /li > ""

    < li > < a href = "ReviewRequest.php" > Review Request < /a > < /li > ""

    < li > < a href = "LogOut.php" > sign out < /a > < /li > ""

    < /ul >

    < / nav >

    < / div >

    < / div >

    < div class = "LeftBody" > < / div >

    < div class = "RightBody" >

    < name of the form = "form1" method = "post" action = "" >

    < div class = "FormElement" >

    < label for = "FirstName" > < / label >

    < input name = "FirstName" type = 'text' required class = "TField" id = "First name" value = "<?" PHP echo $_SESSION ['FirstName'];? ' > ' >

    < / div >

    < div class = "FormElement" >

    < label for = 'Place' > < / label >

    < input name = "Location" type = 'text' required class = "TField" id = 'Location' value = "<?" PHP echo $_SESSION ['Location'];? ' > ' >

    < / div >

    < div class = "FormElement" >

    < label for = "Description" > < / label >

    < input name = "Description" required class = "TField" id = "Description" value = "<?" PHP echo $_SESSION ['Description'];? ' > ' >

    < / div >

    < / make >

    < / div >

    < div class = "Footer" > < / div >

    < / div >

    < / body >

    < / html >

    You would browse the information stored in the $result variable.

    $result = $con-> query ("SELECT ALL * from newrequest where Fname ="$User"" ");

    As below:

    fetch_assoc()) {? >}

    (I don't see a reason to assign data to a variable of $_SESSION?)

    You also probably would be well advised to select information based on a uniquie rather than a name id - if two people have the same name youre UNLESS you want to make sure that two identical Fname can be stored in your tabe stuffed.

    $result = $con-> query ("SELECT ALL * from newrequest where userID = '$userID'");

    userID |     Fname |     Location |                      Description

    8 the end of the road muddy and foggy

    11 this something, no idea

    8               the              rstreet                           rah

    8 is not a clue

    14 Hello Goodbye

  • 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

  • How to put all the data into one phone to another?

    Okay, so I have an iphone 5 c and I want to spend it with old iphone my mother 5 s. I want to move all the data from the 5 c to 5 s. but I don't know how to do it? I'm sure that you connect the 5 c with itunes on a computer to do. Help?

    You can do it. First of all, make sure that the 5s are deleted properly: what to do before you sell or give away your iPhone, iPad or iPod touch - Apple Support

    Then you can transfer the contents of the 5 c to 5 s: transfer content from your old iOS device to your new iPhone, iPad, or iPod touch - Apple Support

  • How to load all the data without uncheck Journalized data only option?

    Hi all

    Currently, I have configured an option only logged data for many game data and interface.

    But I need to load all the data (once) without clear logged Data Only. After that it will work with the CDC.

    Please help me on this.

    ARO
    EBA

    Hi Eba

    Another way is to copy the source data to another table (two copies).
    If you have 10 source table and then create another 10 tables in doubles in the backend.
    Now truncate these original paintings. Then insert the data in table duplicated in the original table. Now CDC will detect these are inserted.
    But I guess you have more than 300 paintings, which is again difficult to manage.

  • How to display all the lines to PRint html option in obiee 11g

    Hello

    I am facing a problem in obiee 11g (windows server 2003). I have 2 environments (SIT & dev)
    In dev I'm not confronted with no problem but in SIT when I print the report in html format only lines 1 to 25 are displayed.
    What should I do to display all the lines

    Thanks in advance
    Abdul

    Hello

    By default it will like that alone. You must enable PDF/print properties in your analysis
    Just go to edit analysis - result table edit table/pivot table see and
    -Click on properties of PDF print control - select display as "all lines".

    Then save it and run it.

    Thank you

    Deva

  • How can I change the data used by a graph of a waveform depending on which tab is active?

    Hello

    First of all, I want to say thank you in advance!  Let me describe the situation a bit.  My front panel VI (see attachment) has a tab control and on each tab of the window, I have a graph of intensity with a free drag cursor.  On the tab control window that I try to display the row or column of data where the cursor is, I can do this for each in the intensity chart individually.  I'm trying to clean up the block diagram a bit and instead of using 4 waveform graphs, I want to use one, can the data that is displayed in the graph of the waveform are associated with which page is active in the tab control.  Is this possible?  And how can I do?

    Thank you once again,

    ~ Daniel DeWitte

    Thread just the terminal tab to a case structure, switching data going graphic terminal

    (Sorry, message by phone, can not look at your code...)

  • How to display all the other images in the image indicator

    Hi all

    I use IMAQ for capture and record high freq and images high resolution. I have an indicator of image directly from 'Image Grab acquire'. Thus, the indicator image displays images at very high frequency too. To display frames, but not necessarily all alone (enough so that the operator can see what's happening). So, I wonder how I can view, say all the other images (for example all the odd/even number of images), or jump on two and show the third?

    Any help will be appreciated!

    Thank you!

    Wenlong

    Here are some general observations.

    • Image acquisition is "a horse of a different color" - in contrast to many other I/o devices, the memory containing the data (here called the "buffer") is handled by the driver and is not directly available for LabVIEW.
    • I'm guessing that you are using hardware OR video, because you use the IMAQ functions (I used only IMAQdx).  Is this true?  What camera do you use?
    • The (probably) "Awakenings" IMAQ extraction buffer herself to the camera (I say 'probably' because I don't know the hardware you use).  This means that While the loop containing it will work at the rate of the camera images (so you can easily calculate the frame rate, as your example code).

    This looks like a routine NI Demo, so I think that you don't have much experience with the treatment of Vision.  If you have a lot of other LabVIEW experience, you should be able to make the leap to the vision, once you have the idea of the functioning of the buffers.  Unfortunately, there isn't much in the way of tutorials and white papers on Vision than on other subjects of LabVIEW.

    Yes to your question - how to view every Nth frame.  This is the loop key (which arises directly from your code):

    As menioned above, this routine is 'clocked' by the function of extraction buffer.  What you do to display each image is th is to place control of the Image inside something like a Case statement that "triggers" each nth time.

    Here is a version of 'Nth' of the loop above (details omitted)-

    We always roll the filling of each buffer with a frame loop.  But we then use the whole function divide to select the nth image (those who have a remainder of 0 when i is divided by n-th) and of the 'image' line (it does not really an image) for 'Image' control, with the other case being "Default" (for all the other Valentine go) and nothing inside.  Thus each nth time in this loop, the output of the extraction buffer is the wire to an Image (and displayed), the other N-1 times the thread is going nowhere.

    Bob Schor

  • Smartphones blackBerry how to transfer all the data from my BlackBerry/Outlook to new computer

    Nice day

    I am currently using a Torch 9800 on my old Dell using Microsoft Outlook 2003.  I just bought a new Dell computer and installed Microsoft Office 2010 with Outlook.  I would like to transfer all my data from my BlackBerry Torch / Outlook to my new computer.

    Can I install BlackBerry desktop on my new computer and just sync with my flashlight or do I make a back-up to my old computer and restore the backup file to my new computer?

    Thank you.

    It depends on what everything you want moved. You can google for more information about how to transfer all your Outlook, including mail settings and all of your PIM data.

    If it's just the calendar, tasks and address book data, then if your BB has everything you want on it, then you can install BDS on the new computer and set up a synchronization one-way system your BB to Outlook to transfer everything in the new perspective. Once it is on both devices settings of two-way synchronization.

    I would like to make a backup of your BB before you do any synchronization to a new computer, just in case where you screw up the sync and removes the BB PIM data.

  • Finder - how to display all THE files and folder without exception names in searches?

    I like Mac OS.  I can't WAIT finder.  I just want that he show me everything that matches my search string - files, folders, images, etc.  Each of them, everywhere on my machine.  I just want it to be simple.  Or point me to a good replacement for Finder program.  I waste so much time trying to find things that should take a simple search...  I looked at all the stupid shortcuts like Shift + Cmd + G, which can't find folders in the directory you are in (why would it be separated anyway?).

    Thank you

    CMD-SHIFT-g is quite a search function. It allows you to enter the path of the folder you want to open. What you think "seeks" the current folder is really thin path. If you enter no previous path information, it looks in the current working directory to the folder name you typed in the dialog box.

    You can set the default search starting location in Finder preferences. I have mine for current folder. Looks like you might prefer "search this Mac".

    Typing in the search field in the Finder will search the contents and filename. It will offer to search for chips to match types he concludes.

    If you just want to search for files and folders, but no content file, then use cmd-ctrl-shift-f to search by name (you can adjust this shortcut to the system preferences keyboard).

    If you don't get the results of your research, then perhaps your Spotlight index is corrupt.

    Featured: how re-indexing of folders or volumes - Apple Support

    If this does not work for you, try to find any fileor EasyFind

  • BlackBerry smartphone how to remove all the data on my blackberry when the buttons do not work?

    I have a Blackberry Curve 8330.  Yesterday the buttons stopped working.  I could use the phone only via Bluetooth.  Based on the information from this forum, I tried a number of hard resets and updated operating system.  None worked.  Verizon is to exchange the phone, but I don't want to send the phone back with all my info on this subject.  Is it possible to erase all the information on the phone without using the keyboard and the normal delete process memory?

    You can make a backup of the device using Desktop Manager > back up everything first.

    Then, you can use JLCmder to reset to factory settings:

    Follow the instructions in this link:

    http://www.BlackBerryForums.com/General-BlackBerry-discussion/18789-Jl_Cmder.html

    At last-

    This looks like what I've seen several times on a device with moisture damage.

    Even sitting on a countertop bath during a hot steamy shower or bath can cause the trackball and keyboard problems until this THAT well dry.

    Really, it is more common than you think.

    1 the battery immediately! Do not turn on your BlackBerry device.

    2. allow the device to dry in a warm, dry place for 3 to 5 days * (see below)

    3. DO NOT "check it every day" by placing the battery in. Leave what would to dry completely. It takes time. Replacing the battery to check it can damage only (humidity + power = disaster).

    3. If the unit is hot after the drying period, let it cool to room temperature before placing the battery in the.

    * Suggestions on your BlackBerry in a warm dry place (open, with battery):

    • Place the BB in a container of dry uncooked rice, and then you can also place it in one of the locations mentioned below.
    • On top of all heat dry emitting electronic components: TV or CRT, LCD, TV cable box / Satellite or plasma monitor
    • On the dashboard of your car on a day sunny
  • How can I change the date used to filter the screen heat for a resource map?

    The dates that appear at the top of the heat map of resources are blocked on March 2014 until August 2014. How can I change these dates to see the current and future commitments to my resources?

    HeatMapDates.png

    To change the dates, you will need to save on the registration page and modify the advanced search criteria. These filter dates apply for the following clicks and pages of details when displaying resources.

  • How to display all the photos in the entire catalog tag?

    Hello

    I've been googleling autour, but have not found the right information. I'll try to find all my Tags of all the imported photos photos, but it would show only photos marked a specific folder when I select this specific folder or the timeline, in which I already knew some photos Tags belong in these files.

    My question is how can I search for photos: scored in the entire catalog without going through the timeline or by clicking on each file and subfolder view. I would like to Organizer show all tagged items in all my folders and subfolders at a time.

    Sorry if this has been answered, and I wasn't able to find the information or the right forum.

    Thanks in advance!

    Dreamer

    To search the complete catalog, click on the display button (close to upper-right in the menu Organizer) and choose the thumbnail display order.

  • How to put all the pages using the template has to use the template B?

    I use Dreamweaver CS4 Web.

    I inherited a website which uses Dreamweaver templates.  In the site, the previous site administrator used several different models for different sections of the site.

    I am trying to redesign the site to use PHP include to reduce the bloating of the site.  Therefore, I am trying to edit the template for all pages of the site to the new one that I designed.  I have not found a way to do this.  I can select the pages individually and change their models, but I have not found a way to make an update of the model of batch processing.  Is there a way to do this?  If this is not the case, can anyone think of a better way to standardize the site rather than update individual templates?

    You would certainly add the editable area of the title.  Each page should have a specific page for optimal exposure title SE.  Without this editable region, you wouldn't be able to create specific page titles.

    -Add the editable area of the title.  Now your two models have the same number of editable regions, each with the same name.

    Then all you have to do is to close * all * files DW.  Then do a search and replace-

    FIND-

    /Templates/template_A.dwt

    REPLACE-

    /Templates/template_B.dwt

    First, make a backup of the entire site.

    Finally, open template_B, make a negligible change and reverse the trend.  Save template_B and update the entire site.  That should do the trick.

  • How to copy all the data to repeat the subform to second repeating subform

    I have a repeating subform on P1 which will have a variable number of rows created.  Then on P4, I another repeating subform, with the same fields, that subform P1 data must be copied to.  I tried many things, but my skill level is not too big, so none of them have worked entirely.  I have a working partially on a button named CopyAll script, but it is not very elegant and throws an error message when you arrive at the end of the number of lines that have been created in the subform of P1.

    Can anyone suggest a fix to this script or a better method of script?  I think this must be tough, since everything what I found on the forums that are similar to this one have not been resolved either.  I enclose a copy of my form.

    In the case of exit of the 1st subforum.invoice, you will find the code to assign the value to his "brother" on page4.

    In addition, the Add button, I added the code to add a record to the subforum page4.

    To do this you will need to copy/past the code of the output event in all the fields that you want to copy and the xfa.resolvenode command ("XXXXXXX [] .fieldName") replace fieldname with the actual name of the field that you're there.

    I didn't ' t do anything for delete you "line" button because I know not how you want it to work, but if you want to control the p4 with p1 Subform subform, you should not allow for the lines to be deleted directly in the subform p4.

    I hope this helps.

Maybe you are looking for

  • Qosmio PX30t - drive Blu - Ray Toshiba update for Windows 10

    After you download the updated Blu - Ray player for my all in one Px30t Qosmio on Windows 10.I read the following on the update page: Disc Blu - ray TOSHIBA (32/64 bit) Toshiba recommends installing this component which has been updated to support Wi

  • Satellite A200-209 (ETA) shortcuts keyboard does not work in Windows 7

    Hello I have a problem with the hotkeys (Fn + some button) - they do not work.I think that the update of the bios can help, but I can't find the bios for Windows 7.I'm wrong or updating the bios will not help? Thank you...

  • Screen is black after MS Windows 8 to 8.1 upgrade.

    Product model HP Pavilion series of 15-e027AX, product E6G17PA #ABG, [number of Series edited by Moderator]. Worked with Windows 8 install ODD. My young son has accepted the upgrade to MS Windows 8.1 and each startup goes through the Windows startup

  • Memory card for T4i

    I bought a Canon EOS Rebel T4i camera.  What is the best memory card to use? I am a novice.

  • ThinkCentre M52 type 9210

    During initial boot, PC shuts down, then returns the error message "Configuration change has occurred", further break PC returns "Media test failure" of additional break (check the cable) then PC returns "Initialising and establishing the link" and t