Urgent , Pls help me in solving this problem
Hi
Pls let me know how do I present the following code using decode or case when. I need to select a column value based on the following condition. How do I put this condition while querying data using select statement.
if optpremccy='usd' then historic_rates.rate_mid=1
else if
select rate_mid from historic_rates
where table1.TYPE_KEY=HISTORIC_RATE_TYPES.TYPE_KEY )
AND ( table1.RATE_DATE=VALUATION_CONTROL.BUSINESS_DATE )
AND ( table2.RATE_TYPE=1 )
AND ( table2.TENOR=1 )
AND ( table2.RATE_SOURCE=9 )
AND ( table2.FIRST_CCY='USD' )
AND ( table2.SECOND_CCY=optionpremccy.CCY )
else
select rate_mid from table1
where table1.TYPE_KEY=table2.TYPE_KEY )
AND ( table1.RATE_DATE=VALUATION_CONTROL.BUSINESS_DATE )
AND ( table2.RATE_TYPE=1 )
AND ( table2.TENOR=1 )
AND ( table2.RATE_SOURCE=9 )
AND ( table2.FIRST_CCY='USD' )
AND ( table2.SECOND_CCY=optionpremccy.CCY )
and also change the value of rate_mid as follows rate_mid = 1/rate_mid
Hi,
You have not got any reply yet because your question is not complete.
1. What should be the query for if condistion??
2. What is your elsif condition??
3. You are using more than one tables in both of the queries you wrote but in from you only used 1 table.???
Regards
Ghulam
Similar Messages
-
URGENT: please help me to solve this problem
I'm trying to find a way to count how many times a number has been inputted in a loop but unable to find a calculation to find the answer,
can anyone help??
Please take me step by step on how to solve this problem as I'm new to Java.Stinkin' crossposter!
http://forum.java.sun.com/thread.jspa?threadID=605663 -
couldn't do anything to the video toolbar, only black screen
This is the most reported problem this week. Here's an entire thread of solutions that may or may not work:
https://support.mozilla.com/en-US/questions/776670
Looking through the thread, it seems like several different problems all manifesting themselves in the same way. Some people had to disable hardware acceleration in Flash, others had to delete their profile, and others yet just had to clear their cache... makes no sense. -
Can you help me to solve this problem (user-exit for xd02)
Hi!
can you help me to solve this problem?
transaction XD02
To pass the length of the field to 7 max for KNA1-SORT (Search criterion 1 )
To pass the length of the field to 4 max for ADRC-SORT2 (Search criterion 2)
It is not possible to save the customer card as long as the search criterion is not univocal
I seek one to use-exit .
Thanks.Hi,
Check the exit SAPMF02D.
Regards,
Surinder -
Hello i have a unusual problem,anyway my iphone 4 wont turn on and when someone calls they hear ringing,but my phone doesent ring.So i poen simcase and now ring off. Screen is just black,because it's turned off..Please help me to solve this problem..Thanks
As far as trying to power up your device, make sure it has a good charge and then hold the button on the top of the phone and the home button on the faceplate together until the apple appears on the screen.
-
Hi, when ever I'm using 3G, on my Iphone4 sim stops working and network is lost, this started after I updated my phone with 6.0.1(10A523)version. Please help how to solve this problem. Thanks.
Photos/videos in the Camera Roll are not synced. Photos/videos in the Camera Roll are not touched with the iTunes sync process. Photos/videos in the Camera Roll can be imported by your computer which is not handled by iTunes. Most importing software includes an option to delete the photos/videos from the Camera Roll after the import process is complete. If is my understanding that some Windows import software supports importing photos from the Camera Roll, but not videos. Regardless, the import software should not delete the photos/videos from the Camera Roll unless you set the app to do so.
Photos/videos in the Camera Roll are included with your iPhone's backup. If you synced your iPhone with iTunes before the videos on the Camera Roll went missing and you haven't synced your iPhone with iTunes since they went missing, you can try restoring the iPhone with iTunes from the iPhone's backup. Don't sync the iPhone with iTunes again and decline the prompt to update the iPhone's backup after selecting Restore. -
Hello Experts Please help me to solve this problem.
Hello Experts,
I am getting a problem while installing the SOLUTION MANAGER 4.0.
in step 17/45 IMPORT ABAP :
the problem is :
ERROR 2008-04-29 03:10:28.110
CJS-30023 Process call '/usr/sap/SLM/SYS/exe/run/R3load -testconnect' exits with error code 2. For details see log file(s) R3load.exe.log.
when i saw R3load.exe.log file it has the following contain :
sapparam: sapargv( argc, argv) has not been called.
sapparam(1c): No Profile used.
sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
/usr/sap/SLM/SYS/exe/run/R3load: START OF LOG: 20080428095833
/usr/sap/SLM/SYS/exe/run/R3load: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#13 $ SAP
/usr/sap/SLM/SYS/exe/run/R3load: version R7.00/V1.4 [UNICODE]
Compiled Jul 14 2007 02:19:03
/usr/sap/SLM/SYS/exe/run/R3load -testconnect
DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12505
DbSl Trace: CONNECT failed with sql error '12505'
DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12505
DbSl Trace: CONNECT failed with sql error '12505'
(DB) ERROR: db_connect rc = 256
DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12505
DbSl Trace: CONNECT failed with sql error '12505'
DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12505
DbSl Trace: CONNECT failed with sql error '12505'
(DB) ERROR: DbSlErrorMsg rc = 99
/usr/sap/SLM/SYS/exe/run/R3load: job finished with 1 error(s)
/usr/sap/SLM/SYS/exe/run/R3load: END OF LOG: 20080428095834
Please can any body help me to solve this problem.
waiting for fast response, as my installtion is pending due to this problem.
have a nice day.
Regards,
Shivendra.Hi,
The following should be verified:
(1) check what DB instances the listener currently is aware of. This can be done with the command 'lsnrctl services'.
(in case you listener does not have the default name LISTENER, then use 'lsnrctl services <listener name>' )
(2) Perhaps there is an issue with the dynamic instance registration, even though the error code is different, you should nevertheless check the points from note #563574.
(3) Verfiy the value of the parameter local_listener (see mentioned note). Since you have changed the listener, the parameter might still be wrong.
In case local_listener is correcly set you should give the command
ALTER SYSTEM REGISTER;
a try.
Best Regards,
Michael -
ýesterday my iphone 5c screen suddendly shows connect to itune and i try to restore it using itune but halfway i got a message error occured (14). please help me in solving this problem.
what did you learn when you search the internet for iPhone error 14?
-
Hello Sorry for the inconvenience, but I have a problem in Java I can not open files, audio chat, which type of jnlp after the last update of the Java 2012-004
Please help me in solving this problem.Make sure Java is enable in your browser's security settings.
Open Java Preferences (in Utilities folder)
Make sure Web-start applications are enabled.
Drag Java 32-bit to the top of the list.
jnlp isn't an audio file format. It's just a java web-start program (Java Network Launching Protocol). -
We have 'CS6' version of Adobe. We are facing a problem with 'Acrobat Pro'. Every month that is stop working and everytime need to install. Kindly help us regarding solving this problem...
Your Acrobat is running in Trial Mode. Try this KB: Creative Cloud applications unexpectedly revert to trial mode | CS6, CCM
If it doesn't work you need to contact Adobe Support for assistance. -
my iphone 3gs is upgraded to ios 6.1.3 from ios 5.0.1 then it continues to shutting down then turning on i think that ios 6 is cannot carry by my iphone help me to solve this problem tnx
See Here > http://support.apple.com/kb/HT1808
You may need to try this More than Once... Be sure to Follow ALL the Steps...
Pay particular attention to Steps 3 and 4.
When prompted... Choose Restore as New ( not from backup.) -
I have the iPhone 4 recently became weak Wi-Fi where I can not use the Internet only when sitting Bejjani router, Can anyone help me in solving this problem please
iPhone 4, iOS 7.0.3There's a whole lot to read in your post, and frankly I have not read it all.
Having said that, this troubleshooting guide should help:
http://support.apple.com/kb/TS1538
In particular, pay attention to the mobile device support sections near the bottom, assuming you have already done the items above it. -
i restored my ipod touch .bt again it display as"ipod is disabled.connect to itunes'wht shall i do nw.i wanna get it back.i restored nt in my computer.help me to solve this problem !!!
You have to restore the device within iTunes. You want to use the same computer that you always sync with so that you can restore your app data and settings. You can restore with any other computer, but you will lose everything on the iPod.
Take special note of the article about using recovery mode. Many times, that is the only way to bypass the pass code and restore the device.
IOS: Wrong passcode results in red disabled screen
http://support.apple.com/kb/HT1212?viewlocale=en_US&locale=en_US
This will tell you how to restore
http://support.apple.com/kb/HT1414
If you cannot restore that way, you may have to use recovery mode.
http://support.apple.com/kb/HT1808 -
I am blocked, as I have updated new apple virsion, which do not allowed sim card purchased in India, at present I am in India
and I want to use my phone using by purchase local sim card, please help me to solve this problem...Jayendrabhai PatelYOU will need to contact the carrier to whom the phone is locked. YOU will need to see IF that carrier offers unlocking and IF you qualify. This has nothing to do with Apple or this forum.
Best,
GDG -
Back up problem. Pls help me to solve the problem.
Dear Apple support team,
When I connect ipod to Itunes, the process of verifying and backing up is too long. And Itunes makes all programs such as firefox, yahoo messenger... run slowly. After syncing, the notice is appeared as below:
Therefor, I do not know whether the Itunes create backup or not
Pls help to check and solve this problem.
Thanks for your support
LollyI can't give you the adequate support, but maybe the iTunes forume can: https://discussions.apple.com/community/itunes/itunes_for_windows / https://discussions.apple.com/community/itunes/itunes_for_mac
Maybe you are looking for
-
Hyper-V over SMB 3.0 poor performance on 1GB NIC's without RDMA
This is a bit of a repost as the last time I tried to troubleshoot this my question got hijacked by people spamming alternative solutions (starwind) For my own reasons I am currently evaluating Hyper-V over SMB with a view to designing our new produ
-
Hi, I have seen that all examples using iText and servlets send the pdf through the browser by using: response.setContentType("application/pdf"); PdfWriter.getInstance(document, response.getOutputStream()); I would need that besides send that info, t
-
Can someone explain how "Hybrid Power" works on the GT70?
I have had my GT70 20C for a couple months now and have yet to see Hybrid Power working once. I have been playing games that are clearly taxing my system to the max (SC Blacklist and Rome 2) but the Hybrid Power monitor always says "OFF". Am i missin
-
Re: ZEnworks f. Desktops 4.01 Inventory - Reading Registry?
Dreamsleeper, that's a feature of ZENworks 6.5 - for ZfD4, you'd have to write your own customer scanner - http://www.novell.com/documentation/...s.html#agx81ss Shaun Pond
-
Recently when I connect Iphone 4s and MacBook Pro my computer stopped see new photos on Dropbox. I have changed iCloud password on Mac and Iphone, nothing. Deleted some pictures of iPhone, didn't help. Any ideas what I did to mess this up?