Any way to not get leading zeros in dates?
When displaying a date or time, I'm always getting leading zeros. Is there a simple way to not have them?
For example:
SELECT TO_CHAR(SYSDATE,'HH:MI PM') FROM dual;
Will show 02:07 PM. I'd like it just to be 2:07 PM
The flip side, that I don't want to see would be not having the zeros in minutes... I don't want 2:7 PM.
I don't know if there's a better way...
SELECT decode(substr(TO_CHAR(SYSDATE,'HH:MI PM'), 1,1), '0' ,substr(TO_CHAR(SYSDATE,'HH:MI PM'), 2) , TO_CHAR(SYSDATE,'HH:MI PM')) FROM dual;
thanks,
Narayan
Similar Messages
-
I was syncing everything to itunes and I tried to do my contacts, not knowing quite how. I ended up erasing all of them from my phone without any of them syncing to my computer or itunes. Is there any way I can get them back? I really need them all.
There are lots of ideas floating on the web for this particular issue - all of which I tried. I had the same problem and it turned out to be my USB cable. I thought the cable was fine as it would charge my phone and play but the data transfer pin was bent. I replaced the cable and it fixed the problem. Worth a shot as it is an easy fix!
-
My notes from my iphone4 have been deleted. Heres the problem, the reason it is deleted is because i accidentally deleted my gmail messages. i guess my notes were there to. the notes are not in icloud and not in gmai. is there any way i can get them back?
Qualdog-12 wrote:
My friend deleted some of my apps from settings as a prank, and I can't get them back by using the App Store.
if they are no longer in the app store, you can not get them back. -
I have just signed up for family sharing. Is there any way you can get the same app on two devices but not have to share it? My sons both want clash of clans but they don't want to be on the same village and they can't both be on app at the same time?
hi, the app is not "shared", it works as if you bought the app twice with different accounts, only you paid it once. they should have 2 different villages since they're on 2 different devices.
-
I just recently purchased an iphone 5s and today my speaker located at the rear end of my device is not sounding clearly, it sound muffed and blurry. Is there any way I could get a new one or get this fix for free?
Hi Jayliin,
Take it to the Apple Store where you purchased it from. It is still under warranty. They will replace it if necessary.
Cheers,
GB -
hello, i not long ago purchased light room 5 and it downloaded and was working great! but the my computer crashed and i was unable to retrieve it and i am still having problems! i DO NOT WANT TO PAY AGAIN!IS THERE ANY WAY I CAN GET IT BACK!
You should be able to download Lightroom 5.4 again, without problems, for free
From Google, type in
Lightroom 5.4 download Windows
or
Lightroom 5.4 download Mac
and please don't type in all capitals thank you -
I accidentally hit the install software update on my IPad and I am not by my computer and won't be for 2 weeks. Is there any way I can get my IPad off the picture of connecting to ITunes?
No. You must connect your iPad to a computer (it does not have to be yours) in order to restore it to factory settings.
Once you're home, you can restore it from a backup.
Any content that you did not backup has been lost.
~Lyssa -
My daughter did factory reset on 4 s and lost her notes. Important stuff in notes. Is there any way she can get them back?
Did she do a backup first? Did she have iCloud backup turned on?
-
I bought an LG phone and a $35 dollar plan card. Less than a week later it said I was out of time for texts. Apparently it only gave me minutes, not the plan I wanted. Is there any way I can get the plan without paying again?
So you bought a plan and used it all and want another one for free? I understand you thought it had more texts or whatnot but they won't do that since you already used the other plan.
That's like going to McDonalds and ordering a double cheeseburger, them giving you a double cheeseburger, you eating it and then realizing you wanted a double quarter pounder and expecting them to give it to you free. -
I just synced my ipod, not realising that i had some pictures only saved on there, is there any way i can get them back? :/
Hello Scarlettava,
Sorry, but there is not.
B-rock -
I dropped a 15 LIB weight on my iphone5. The phone tuners on and gets texts, calls and the alarm still works. I cannot use the screen at all and have never connected it to my computer or download icould. I want to know if there is any way I can get my information off of the phone.
Did you set it up to unlock with fingerprint reader? If so that may still work. If so see Recover your iTunes library from your iPod or iOS device to enable you to backup everything from the device before getting it repaired or replaced.
tt2 -
is there any way i can get the data from the phone?
Hi webby84,
Welcome to Apple Support Communities.
It sounds like you're experiencing a hardware issue with your iPhone.
These links are a good starting point for troubleshooting:
iPhone Assistant
http://www.apple.com/support/iphone/troubleshooting/
iPhone: Hardware troubleshooting
http://support.apple.com/kb/TS2802
Best,
Jeremy -
On the settings I went to iCloud then went to storage and backup and it saus total storage 5.0 gb and avaible storage is 2.7 gb but all of my photos arent there. Then when I click manage storage it says camera roll 2.0 gb is there any way i can get my photos back? please help
If you use the same iCloud ID and before you will get your contact, calendar and notes and other iCloud things back. If your previously has PhotoStream one you will also get back the last 30 days of photos.
It appears you do not use the same iCloud ID.
What do you see for Contacts, Calendar and Notes when you go to icloud.com and sing in with the same ID. You need a computer browser.
You may be able to get the photos from the restored iPod by:
How to perform iPad recovery for photos, videos
Wondershare Dr.Fone for iOS: iPhone Data Recovery - Wondershare Official
http://www.amacsoft.com/ipod-data-recovery.html
iPod recovery software to restore lost music files
http://www.pcrecoverytools.com/ipod-data-recovery.html -
I have forgotten my restrictions passcode and i dont want to lose any media on my iphone, or any apps, i am scared to back up my media for restore in future as these photos and videos mean a great deal to me, is there any way i could get around it? Thankyou if you can help; oh and last time i restored my iphone it didnt restore ALL the media only some and very improtant photos went missing :(
All media and apps on the device should already be in iTunes on the computer.
If you have forgotten the restrictions passcode, the ONLY option is to restore as new.
Then sync back any media, apps, contacts, etc back to the device.
You can not restore from backup as the restrictions passcode is included in the backup. -
I have updated my mac from snow leopard to mountain lion 3 days back. I had some important data in my library folder and it got overwritten. Is there any way i can get the data back from my snow leopard library folder?
I tried mackeeper to recover files but it could not. Any other way any one has tried to recover a system library folder after OS upgrade?No, it doesn't store a clone. You would have needed to make one with either SuperDuper or CarbonCopy Cloner.
If the files were in your ~/Library folder then they may still be there. As I said, you can access it by
going to your Finder "Go" menu hold the option key to choose "Library". I wouldn't think an upgrade would overwrite anything in ~/Library.
If you have a Time Machine backup you may also be able to use that to retrieve them.
Maybe you are looking for
-
BP Sleas area table in CRM6.0
Hi like tables KNV1 and KNVV in R/3 are there any similar tables in CRM to find SALES AREA data for any customer(BP) i found SMOKNVV but no use ...any other? Thanks Phani
-
Best way to update apps like Java and Adobe?
Hi guys I just wanted to get some feedback on how best to deal with updating Java and Adobe. Of course a lot of this will be opinion and circumstance, but feedback would be useful. The 3 methods I am focusing on here is SCUP, the App model and the Pa
-
Did BSP limit function call?
We have create a simple BSP application, there we call a function 'LANGUAGE_CODE_SAP_TO_ISO' first in a page. But if we call another function 'READ_TEXT' continuly, the later one never work anymore! Whatz up with our BSP? Our code in BSP application:
-
How to get the closest match strings
Hello All, I am looking for a select statement that will compare the alphanumeric value of my input string and return the closest matching alphanumeric value from my Cache table. The Cache table has 2 columns. CREATE TABLE Cache ( ID int identity pri
-
Hi, I need to upgrade the existing release procedure for Purchase requistion. I have created new release groups, release codes and strategies. I have created new characteristics and have added that to the existing class which was being used. Now i am