I need assistance on setting lexical in cursor
Dear Experts,
Hope you will be fine.
I'm using oracle DB 10.1.2 and formulas 10.1.2.3. I want to write a cursor where "some where condition" can exist or not exist.
As below are the main SQL cursor.
SELECT TEMP_DATA FROM TAB1 WHERE BDATE BETWEEN :B_DATE AND :E_DATE AND DEPT_ID=:P1 AND DIVM_ID=:P2 ORDER BY BDATE;
Here, I want to, the user can change the value in P1, P2 or one or none. More information. B_DATE and E_DATE must be entered by the user and
If the user passes both the value of P1 and P2 the sql above is ok for the cursor. But if the user spends not the worth of P1 then shouldn't like sql cursor
SELECT TEMP_DATA FROM TAB1 WHERE BDATE BETWEEN :B_DATE AND :E_DATE AND DIVM_ID=:P2 ORDER BY BDATE;
How to do this in a slider?
Thanks for your time.
Ask2Learn
Hello
You can write the SQL code as below...
SELECT TEMP_DATA FROM TAB1 WHERE BDATE BETWEEN :B_DATE AND :E_DATE AND (DEPT_ID=:P1 OR :P1 is NULL) AND (DIVM_ID=:P2 OR :P2 is NULL) ORDER BY BDATE;
This way if P1 is not entered by the user, then it will be null (same for the P2).
I hope this helps.
VR,
Sudhakar
Tags: Database
Similar Questions
-
I need assistance with combine jpeg and raw photo even after importation
You mean both JPG and RAW file after importing from a camera memory card? There is a setting in LR preferences to process the JPG images next to RAW files as separate photos. It is under the general tab of preferences. By default, this option is not checked.
If this is not your problem, then we will need Lots and Lots and lots more information about what you mean by the combine
-
I need assistance with Outlook Express
I need assistance with my outlook express. Please
See www.oehelp.com/OETips.aspx#7 or be more specific, and perhaps we can help you.
Steve
-
I just reinstalled windows xp sevice pack 3 in my laptop. l need help to set up the wireless modem. My laptop is IBM ThinkPad and the modem is a construction in one. would appriciate ay help
Hi bardhiboris,
You can follow the steps from the link below: set up a wireless network:http://www.microsoft.com/windowsxp/using/networking/setup/wireless.mspx
Other links, please refer to: 10 tips to help improve your wireless network:http://www.microsoft.com/athome/setup/wirelesstips.aspx
To set up automatic wireless network configuration:http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/wlan_client_configure.mspx?mfr=true
With regard to:
Samhrutha G S - Microsoft technical support.
Visit our Microsoft answers feedback Forum and let us know what you think.
-
I need help to set up the linksys adsl router
Hello world!
I have LINKSYS WIRELESS - N HOME ADSL2 + MODEM ROUTER (wag120n) and I connect to the internet via the cable that I took my friend who already SPEEDTOCH ADSL ROUTER, I bought the d-link wireless card and I install it in one of my PC
what I need is to set up my linksys wireless router for my two PCs, on via the wireless and another an ethernet cable, how can I do?thanks4all
Follow this link to configure the router.
-
need help to set up Linksys printserver with verizon wifi hotspot
need help to set up Linksys printserver with verizon wifi hotspot
pfsjmhall,
Configure your wireless router to use these recommended wireless router settings, I use channel 11. I would use a new SSID to connect easier.
Then configure the Linksys print server. Find your network to give your passkey (password)
Then set up the printer, choose network and follow the instructions.
Rick
-
I NEED ASSISTANCE WITH MY ETHERNET DRIVER. HOW CAN I GET THIS TO WORK NEW TI?
Original title: driver ethernet
I NEED ASSISTANCE WITH MY ETHERNET DRIVER. HOW CAN I GET THIS TO WORK NEW TI
Download and install it
The driver should be available in the manufacture of computers site
Use the snid on a label on the computer to search with while you're there
Or if the motherboard came with a disc to load and the reader will be on it.
-
I could not find download Windows Mobile Device Center 6.1 so I can download pic & videos from my phone to my computer. I need assistance with their phone is off and on computer any ideas please help.
-
Need help with setting up in checkbox in interactive reports
I need help with setting up in checkbox in interactive reports, I use this statement a query
SELECT apex_item.checkbox
(
1, ROLEID,
'onchange = "spCheckChange (this);". ',
: F_ROLEID_LIST,.
':'
), del.
ROLEID, ROLEDESCRIPTION
OF EBA_ROLES
When I run it I get the following
< input type = "checkbox" name = "f01" value = "1" onchange = "spCheckChange (this); ' / > instead of the checkbox
Do I need to configure anything else
Aditya Gupta wrote:
I need help with setting up in checkbox in interactive reports, I use this statement a query
SELECT apex_item.checkbox
(
1, ROLEID,
'onchange = "spCheckChange (this);". ',
: F_ROLEID_LIST,.
':'
), del.
ROLEID, ROLEDESCRIPTION
OF EBA_ROLES
When I run it I get the following
instead of the checkbox
Do I need to configure anything else
This is one of the most frequently asked questions in this forum. Set the column attribute the text to display as Standard report column and not display text (special escape characters).
Always include the information referred to in these guidelines when you ask a question and if you use APEX 5.0, State, if you develop using the pages or the view of the component designer.
-
Hi I get this message when I try to install adobe software, how can I fix this problem? Thank you I really need your help
This card was purchased in a country that does not match your identification code Adobe you can try to connect with a identifying different Adobe or contact us if you need assistance.
Hello
Please see redemption code help
Kind regards
Sheena
-
I need assistance with deactivation Suite CS6. My Mac Book has been stolen. Can you help me?
Contact support by web chat or telephone to reset the activations.
Mylenium
-
I need assistance in the import of certain vectors, watercolor color chart and other creative market (step by step instructions). Im a newbie to Illustrator and need help.
Should be the subject of the file > open. After the download. The swatches will come with the file.
-
I want to create my menu widget, but I don't know I can has created, I have the french version and request of muse please I need assistance to complete my website. I want to know so if we create a box of e-mail with muse mail when the site is fully finished and after publication. I need an answer today please. Thank you. God bless you
Hi Esther.
If you mean manual creation Menu, then Yes, it is possible. Drag the widget menu a menu, go to the Menu Options and change the Menu Type to manual.
About the mailbox Muse is a design software. It does not provide the functionality of e-mail. You should check with your hosting provider.
Kind regards
Aish
-
I need assistance with lightroom 4 - I downloaded the software but I can not access
I need assistance with lightroom 4 - I downloaded the software but I can't access it. I have windows XP I need to upgrade to windows vista or windows 7? Any help please. Thanks Zara
Lightroom 4 does not work on Windows XP
http://www.Adobe.com/products/Photoshop-Lightroom/tech-specs.html
You will need to upgrade to Windows 7 or Windows 8. Avoid Vista - It's terrible.
-
Need assistance on the implementation of Multi level menu
Hi all
Need assistance on the implementation of Multi level menu
Thank you
ANUHi Anu,
Please go through this link Multilevelmenu to implement navigation
Thank you
Maybe you are looking for
-
The Rams - EE of Compaq Presario CQ60-116 upgrade
Hello This is my first post so I think I erased my point of view, which may not be 100% good. In any case, short story... I have a Compaq Presario CQ60 - 116 EAhttp://support.HP.com/us-en/document/c00820047and I would like to upgrade of his memory, I
-
OpenGL on Stream 13-c110ca laptop HP?
I can't seem to find which version of OpenGL stream HP 13-c110ca supports - anyone know? Thank you.
-
During my good computer for the service, I have created an e-mail account on a Toshiba laptop under Vista Home and Windows Mail, what email client I've ever used before. I have a slow connection, so I normally go to the site of the ISP and organize
-
The sides of the screen are cut
* Sorry if I have errors of language *. I bought a new PC with Windows 7 64 BIT (video card - AMD Radeon HD 7800) If I put the 1920 X 1080 resolution, the screen looks blurry and the quality is very poor and there are black lines on the edges. If I p
-
Unable to set the values in the effects with wacom pen Panel.
I just upgraded to 2015.4. When you use the cursor to the values of the slide in the effect controls panel, nothing happens. The hand cursor disappears and the value pointed out that requires a typed value to insert. The slider works Ok, but is slowe