Sorting is not the case in HH24:MI:SS MON-DD-YYYY format
HelloThe following query is not get sorted at the last date, need some suggestion to sort the query.
I also tried to give > > Order by 8SELECT
CL.ID,
CL.product_serial_number "PRODUCT_SERIAL_NUMBER"
product_name CL. PROD_NAME,
CL.controller_version,
CL.license_type,
CL.system_id system_id_ip,
CL.created_by,
TO_CHAR (CL.) CREATED_DATE, 'HH24:MI:SS of MON-DD-YYYY') created_date,.
CL. Status "STATUS.
OF customer_licenses cl
order of to_char (CL.) CREATED_DATE, 'HH24:MI:SS of MON-DD-YYYY') / / desc
Thank you
Sudhir
To_char converts to a string. Therefore:
order of to_char (CL.) CREATED_DATE, 'HH24:MI:SS of MON-DD-YYYY') / / desc
sort strings. And the strings are compared, character from left to right. So the result is sorted first with day 31. Since you want to sort as dates, everything you nee is:
SELECT
cl.id,
cl.product_serial_number "PRODUCT_SERIAL_NUMBER",
cl.prod_name product_name,
cl.controller_version,
cl.license_type,
cl.system_id system_id_ip,
cl.created_by,
to_char(CL.CREATED_DATE, 'DD-MON-YYYY HH24:MI:SS') created_date,
cl.status "STATUS"
FROM customer_licenses cl
order by CL.CREATED_DATE desc
/
SY.
Tags: Database
Similar Questions
-
How can I transfer photos from my iPod touch 6th generation for my macbook pro WITHOUT using iCloud, please? It's simple with another camera but not the case, it seems, for the iPod Touch from Apple.
Use import option from your Mac:
Import photos and videos from your iPhone, iPad or iPod touch - Apple Support
-
Typing a wrong URL in the URL from Firefox 31.0 bar redirects me to us.yhs4 yahoo com search that displays the LAVASOFT logo. It is not the case with any of my other browsers (IE, Chrome, Opera, Safari). So this cannot be a problem ISP as shown in all current references to Firefox.
This problem started after I uninstalled adaware from LAVASOFT. It itself instead of uninstall. Thus, it is malware behavior while LAVASOFT is pretending to protect against malware.
Nevertheless, I would like to know how to get rid of this annoying 404 redirect hijack. My home page is about to startpage com, my default search engine is startpage com, all references to Lavasoft and adaware have been removed by subject: config and Windows registry...
How to get rid of this spam redirect, please?Click Tools > Options, then general tab
In the home page box, type the url you want to fire fox opens by default when you start the browser.
KhalidXpert
-
What is the Inbox that has appeared on my firefox? Is it related to firefox? If this is not the case, how can I get rid of him? This happened after I've upgraded to the latest version. Thank you
Hi, no this is not part of firefox. Please always make sure that you only have to download firefox from the official site at getfirefox.com. Please try these steps to get rid of this adware:
- Go to firefox > help > troubleshooting information > profile folder - "view folder", then a new window will open. in this search on a file named user.js window (it can be used to overwrite your custom settings). where it is present, delete or rename this file and then restart firefox. How to fix preferences that will not save
- then install the reset search addon - he'll come back more often customizations make these adware programs in default firefox: https://addons.mozilla.org/firefox/addon/searchreset/
- Finally, run a full scan of your system with security tools like the free version of malwarebytes & adwcleaner to ensure that it is not adware in other places as well.
Remove a toolbar that has supported your Firefox or the homepage search
Fix Firefox problems caused by malicious software -
That's the problem. On my Yahoo email, no letters appear when I try to type a response. This is not the case with Safari.
All of a sudden it started working again! So strange. No explanation?
see you soon,
Norbert
-
I have ad-ware on internet sites, including my own site, when you use the firefox browser. This is not the case on IE9. I ran Norton Security and found no viruses on my computer. How can I fix it?
Thank you!!!
Firefox reset did the trick. I hope that he got rid of her is not pop up again. -
Recently whenever I start the computer a program named Mac cleaning charge, stat my scanning system and ask to activate. It looks like a third party program that I should pay. Is it an accredited program for mac. If this is not the case, how can block this load upward.
Is it called Advanced Mac Cleaner? If so go here. http://AMC.Kayako.com/Knowledgebase/article/view/4/0/how-to-uninstall-advanced-m ac-cleaner
It is malware.
Edit: See post of Linc Davis on this topic for more detailed information.
-
So I recently found my game Age of Mythology. The disc is very good and works, but I have not the case with the number of products to this topic. What should I do?
Hi GuyT6,
· What version of the operating system is installed on the computer?
I suggest you contact the customer assistance form help and more information.
How and when to contact Microsoft and support Customer Service
-
The Windows Installer
I have windows xp. I can't install or uninstall anything. It telling me that my computer is in safe mode (which is not the case) or my windows installer is not installed properly. I know that my Installer is 'stopped '. I tried all the steps on the Microsoft technical support. As well as other sites in an attempt to solve this problem. I tried to subscribe, unsubscribe, launches the present, which, in respect of the CDM, run something HIKEY... all, you name it. I tried to download the latest installer, that didn't work... What the devil is left to try?Hello
-What you have done to try to solve the problem?
-Did you change on your computer due to which the question has begun?I recommend you follow the steps in this article and see if the problem still occurs.
How to solve the problems when you install or uninstall programs on a Windows computer.
-
Original title: Edition Vista Home premium
Does family vista premium have fax capabilities? If this is not the case, can it be acquired?
Hello
Home editions of Vista have not included Fax software.
Fax only comes with Vista business, full and firm.
http://Windows.Microsoft.com/is-is/Windows-Vista/send-a-fax
It is a salary for a Fax program.
http://www.SnapFiles.com/get/snappyfax.html
See you soon.
-
I have windowsimagebackup folder where I want to restore the file. This is not the case in the menu catering
Hello
see if this information helps you
How to make a backup of your data
http://www.vista4beginners.com/how-to-backup-your-data
How to restore your files
http://www.vista4beginners.com/how-to-restore-files
the 1st link below is how do the backup complete pc
http://www.bleepingcomputer.com/tutorials/tutorial145.html
and that is how do to recover the backup complete pc
http://www.bleepingcomputer.com/tutorials/tutorial144.html
and here is the information of microsoft in restoring a system image backup
http://Windows.Microsoft.com/en-us/Windows-Vista/restore-your-computer-from-a-system-image-backup
If you have problems, it's in here is a forum for microsoft specifically for backup issues
http://social.technet.Microsoft.com/forums/en-us/WindowsBackup/threads
-
HP Photosmart D7360
Mac OS X version 10.7.2
Try to print remove shipping labels. Printer refuses and tells the media is backwards. It is not the case. When turning on the printer paper print, but the wrong side of media.
Hello
I have already heard this with avery paper, I thibnk its caused by the mark on the paper, if I remember correctly a blue logo on the top of the paper. Try this as a test, cover the blue logo with a thin strip of white paper, so stick on or cover it with Type-ex.
-
That's the problem...
I have Photoshop CS6 on CD but my new macbook pro is not the case of CD... How can I do? My old macbook is broken and I can't use it. Please help me.
My version of photoshop CS6 is for student and my new macbook is a macbook pro 13 "retina.
I hope someone help me.
Thank you for the support.
You can download it here, but will not require your serial number:
-
Anyone know why I can't buy the Portugal LR6? When I select the desktop application of most place hiden in the site Web of the page turns out to be empty! In other regions that is not the case but since I am connected to the Portugal, I'm not able to buy elsewhere.
Please check the availability of https://www.adobe.com/content/dam/Adobe/en/products/creativecloud/cc/pdfs/cc-availability-matrix.pdf
Concerning
Stéphane
-
I have a windows computer and a computer mac laptop. I bought the cd of windows photoshop cs6 in December 2013 before I had a computer mac laptop. I can get it on both computers? If this is not the case, how can I put on my laptop instead?
The mac license and the license of windows are 2 different products, mac and windows are 2 different platforms, so you cannot transfer the license between the 2.
Maybe you are looking for
-
When I changed my IE7, Firefox (and I'm very glad I did) I migrated my large list of Favorites (which was divided into subsections to make it easier to find items) to Firefox Bookmarks. I continued to bookmark web sites, I added to the sub-headings i
-
How can I change the background color by default for a Web page where none is specified?
There are many versions I've customized the background color if none has been given to brown to go with the skin I used then. Now, I find with a simple text file is not readable with black against Brown, but I can't find today's version where to put
-
Update PS6100 SAN and ESX 5.5
I am currently in planning phase of updating our SAN (PS6100 ver6.0.6) and our environment Vmware (5.0). My plan is to first update the SAN to 7.0.2 then updated Vmware 5.5. But according to the Dell Compatibility Guide SAN 7.0.2 firmware is not comp
-
SMS, DatagramConnection and Sprint
Why DatagramConnection do not work on the network Sprint (CDMA) for incoming SMS? This is the method works on GSM device, but does not work on Sprint (CDMA). I use the Port "0" to listen to the incoming text message.
-
Try to reset the password of admin for a switch of SG500. I have access to the consoles. It looks a lot like this: https://supportforums.Cisco.com/discussion/11523086/SG200-26-password-reset However when I press 3 to select the password recovery proc