How i do this??
Respectyed gurus,
i hav query? where i have condition when i am making a calculation of suppose lets say
Round(3128*1.75/100) it is coming=54.74 this cosidered as 54.
but my job is to put such a condition in query which will excute when decimal value is greater than " .05"
then it takes as "ceil" value or else "floor" value .
how i do this.??
decode function is not workin becuase of its not excepting the conditional operator.
but i have tried "case"
but i was fail to get it run.
plez help me..
Billy Verreynne wrote:
This is the mathematically correct way. If you do want to round based on the 2nd decimal digit and ignore the 1st... I fail to see any logic in that.Mathematically it's the correct way to round, but there may be a requirement, say in engineering, where there are "tolerence levels" on certain things. In which case it's perfectly logical.
That being the case, Frank's solution is just what is required...
SQL> ed
Wrote file afiedt.buf
1 with t as (select 54.04999 as num from dual union all
2 select 54.05 from dual union all
3 select 54.05001 from dual)
4 --
5 select num, ceil(num - 0.05) as rnd_num
6* from t
SQL> /
NUM RND_NUM
54.04999 54
54.05 54
54.05001 55
SQL>
Similar Messages
-
I have lost my apple ID for my ipod, now ive got a new iphone and i want to use the same ID for both, can anyone one tell me how to do this? ( i no my ID for the iphone)
Just use the same ID.
These may alos help:
How to use multiple iPods, iPads, or iPhones with one computer
What is the best way to manage multiple...: Apple Support Communities -
Hi,
Due to my brother locking me out of my ipod touch I had to wait an hour to log in again. Unfortunately when I did this, I, again put in the wrong password twice more, each time locking me out for a further 60 minutes. On my 3rd attempt to log in the wrong password was entered again. This time though instead of logging me out for another 60mins it now tells me to "connect to itunes" but I have no idea how to do this and I am now unable to use my ipod. Please help.See Here > http://support.apple.com/kb/HT1212
-
Problem with an incoming message. For example, during my conversation the second line receives a call, I hear the sound in dynamics such as "piiiip piiiip," but when in this situation I recieve SMS and i hear established melody and I do't hear the person on all over SMS. How to solve this problem? Perhaps someone tell me? save in advance
Not Charge
- See:
iPod touch: Hardware troubleshooting
iPhone and iPod touch: Charging the battery
- Try another cable. The cable for 5G iPod (lightning connector) seems to be more prone to failure than the older cable.
- Try another charging source
- Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
- Make an appointment at the Genius Bar of an Apple store.
Apple Retail Store - Genius Bar -
Recently loaded Lion on my laptop and now my computer crashes often. Black screen and keyboard lights up. Any ideas on what's wrong and how to fix this?
Everytime this happens Ihave to power down and restart! Any ideas would be appreciated!
-
I bought an I pad 2 from us but I can not activate the Facetime in UAE(Dubai)as I can not see the country in the I pad's drop list, anyone has an idea as to how to resolve this issue
I'm not that familiar with how FaceTime works. I know how to set It up but I don't use it. I just know that you can't activate in the UAE. I believe that you can activate in any country that permits it's use. Whether you will need a new ID or not, I can't confirm.
You can Google this and get all sorts of articles on workarounds. Apparently if you set up a VPN you can use it in the UAE. Here is one article that I found.
http://talkfree7.blogspot.com/2010/09/how-to-facetime-voip-call-from-uae.html
I Googled "workaround for FaceTime in UAE" to find this. -
After moving to iCloud I can only get my email through the cloud, no new emails are making it to my home computer and .mac account. Does anyone have any advice on how to fix this issue?
Welcome to the Apple Community.
Which OS are you using. -
My iPhone 4 no longer connects to my car or alarm clock after a recent sync to my computer. The message at I get when trying to. Connect is "this accessory is not optimized for the device" or something like that. Anyone know how to fix this?
Hello there philp_69,
If I understand correctly it sounds like your phone hasnt been recognized in iTunes on your PC since the last couple of updates. I would use the troubleshooting in the following article which will walk you through the steps one by one.
iPhone, iPad, or iPod touch not recognized in iTunes for Windows
Thank you for using Apple Support Communities.
All the very best,
Sterling -
My new iPhone 4S (week old) can't connect to iTunes, App Store or iBooks via Wi-Fi (and some other apps e.g. Hollister – but most of the other apps like Safari or ebay work fine). There is no problem with those apps loading via 3G network. When I turn off the wi-fi, it runs over 3G and i can access App store without any problem. When i turn off the 3G network and turn the Wi-Fi on, those apps like App Store won't work, other apps work fine. When i turn on both Wi-Fi and 3G, the App store (and so on) is also not working, other apps are.
I also found out that when the Wi-fi is on and I sign out my apple ID, the App store starts working! But when I log in again, it will imediatelly stop working. I've tried logging in with others apple IDs, still with the same result. There is no problem with my apple ID account, because it works on my iPad, even via Wi-Fi.
When i first set up my iPhone, there were no complications using App store ia Wi-fi with exactly the same account. I don't know if it has anything to do with it, but this problem started when i logged in with my UK account and then wanted to log back in with my Czech account.
I tried turning it off, hard reset and deleting my iPhone several time (even without back up). Nothing worked since then.
Does anyone have any idea how to fix this?
I would really appreciate ANY help. This porblem is driving me crazy!I am also having the same issue. Please help!
-
Iphone 4s voice to text messaging suddenly stopped working. The little dots that appear while program is preparing to tranfer audio to text shake side to side and no text appear.
Any ideas on how to fix this problem
Depends on what the problem is. -
When I open iTunes it will automatically go to full screen mode. I can't work out how to turn this off. Only iTunes opens to full screen mode.
Go to System Preferences (under the Apple logo in the menu bar). Choose "General". Click "Always close windows when quitting an application".
That should fix it. -
Hi, having purchased and installed pages after my 30 day trial had finished I am now unable to save any changes to documents I had created in the trial version. It says I need a serial number, which I never got when I purchased the pages app. Does anyone kno how to rectify this, I would be very grateful for any help as I'm currently writing up my thesis and am now unable
Hi, I had the same problem and I found that you don't need a serial number anymore. Here is what I did:
(1)I went to Applications fodder on my Mac. (You can navigate to the Application folder from 'New Finder Window.')
(2) Deleted Pages (installed as part of the free free trial version) from the Applications Folder. Also deleted 'IWorks' from the Applications folder.
(3) Started AppStore.
(4) Clicked on Purchases.
(5) Clicked on Pages.
(6) Clicked Install.
(4) repeated (5) and (6) for Numbers and Keynote -
i have purchased itunes match but the cloud will not load on my ipad 4.it works on my iphone 5 & it originally worked on my ipad.the only music that will show up is stuff that i bought from the itunes store.any ideas on how to get this to work?
On the MBP, in iTunes, switch to Song view and enable the iCloud Status column by pulling down View > View options and selecting the option for "iCloud Status." Close the small window. Look for any tracks that have a status of "waiting." If you see several of them disable iTunes Match while holding down the Option key. Quit iTunes, wait a few seconds, then open it again and turn iTM back on. Let it compelete the scan. Wait until all tracks that are "waiting" have a status of either "matched" or "uploaded."
On the iPad, turn off iTunes Match then launch the Music app and let the contents clear out. Power cycle the iPad for good measure, then re-enable the service once all the tracks in iTunes have been processed. -
My Iphone 5 won't show up in itunes on my computer? Any idea on how to fix this problem?
My Iphone 5 won't show up in itunes when i plug it into my windows 8 laptop but it shows up on my computer under devices and drivers as an iphone. Any idea on how to fix this problem so I can use my phone in itunes?
http://support.apple.com/kb/ts1538
-
Here's a screenshot. I've tried everything to make it go away, including changing the browser fill color, but this just wont change. It does disappear when I preview the site online, though. Does anyone know how to remove this color? Thank you in advance!
Hi Jessica,
Please go to View > Click "Hide grid overlay".
Regards,
Aish -
Page numbers displayed incorrectly in TOC in new Pages - does anybody know how to fix this?
I'm working on a multi-section document with a single TOC for two sections. Section one uses lowercase roman numerals (i, ii,...) and section two arabic numerals (1, 2, ...). The page numbers are displayed correctly on the pages themselves, but in the TOC the first two headings from section two (pages 1 und 3) are displayed as "i" and "iii". This only started after the update to pages 5, everything was fine before that. Does anybody know how to fix this? I already tried deleting the TOC and inserting a new one and changing the numbers to uppercase letters and back, to no avail.
thanks for any inputGo back to Pages '09 inside the iWork Folder inside Applications.
There are so many problems with Pages 5 it is difficult to know where to begin.
Peter
Maybe you are looking for
-
Hi All Is there any standard report to find PR to PO lead time. Formula to find PR to PO lead time = PO creation date - PR release date Regards Satish Kumar
-
Allowing "Reader Users" to Save MULTIPLE Unique Sets of Forms Data for One Form
I own Acrobat Pro X. I use it to create many documents in my law practice. I need to deliver a contract form to a client that the client will use again and again and again... The client only owns Acrobat Reader. I need this to be like a "template" in
-
Decimal Places of Key Figure not displaying Correctly
Hi BW Gurus, I have a key Fig ZLENGTH of type Quantity. I am calculating length in Kilo Meters with this.When I am trying to load the data in my cube with flat file say if value for length is 8.123 Km it is showing in Cube 8.000 . As cklient requirem
-
Anyone know anything about transistor model creation?
Although it was rather difficult, I've managed to get what may be half decent parameters into a 2n3055 model I'm trying to build. (I can never find the famous ".cir" model for anything.) The main place where I had zilch was input capacitance. So, s
-
Hello, in a servlet we would like to read web.xml sections which are not accessible through the servlet/context-getParameter methods. So we wrote a utility to get access to these elements. The problem is, that we receive an error, if the parser has n