Process the result so that the dates are ordered by date
I am retrieving a query result from a sql database of which
one column contains a string of this format:
09/08/2008
How can I process this result so that the dates are ordered
by date?
Thanks for anu help :)
what's your db and version?
pretty much all dbs have built-in string and date functions,
a
combinations of which will let you update your field to be
date/datetime.
you will probably want to create a new field in the table to
store the
converted dates, then check that they all have been converted
correctly,
then delete the current date field and rename the new field
to the old
date field's name.
using your db's string functions you will need to extract
day, month and
year parts of your date text, and pass them to your db's date
creation
function.
if your db is MySQL, it has a very handy STR_TO_DATE(str,
format)
function... check details in mysql ref manual.
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Similar Messages
-
I had just put the finishing touches on my 36 minute documentatary when I got an error message that the external 1TB HD I was using to store the project had been ejected improperly (must have shaken a cord). The result is that the project would not load in the edit Projects window. I can see the file in the finder window and it will launch iMovie but the file itself will not load in the projects window.
I have contacted apple support and they tried to do a few things... to no available.
With my limited knowledge of file structures I assume that the header file must be corrupt.
Is there a 3rd party utility that can decompile and fix the file structure so it will load properly. I've been working on this project since june and would hate to have to redo the whole thing again.I had just put the finishing touches on my 36 minute documentatary when I got an error message that the external 1TB HD I was using to store the project had been ejected improperly (must have shaken a cord). The result is that the project would not load in the edit Projects window. I can see the file in the finder window and it will launch iMovie but the file itself will not load in the projects window.
I have contacted apple support and they tried to do a few things... to no available.
With my limited knowledge of file structures I assume that the header file must be corrupt.
Is there a 3rd party utility that can decompile and fix the file structure so it will load properly. I've been working on this project since june and would hate to have to redo the whole thing again. -
Have opened a page in WORD and tried to cut and paste to it. The result is that the page is frozen with the coloured cursor just spinning around and not letting me do anything with the page. I only wish to close the page down. Thanking you
Many thanks for your help in this instance. The command-option-shift-esc and force quit solved the problem for me . Now I can get back to using my computer once more
-
When running FB game apps, the image loaded is too large for the FB space. The program looks for a "zoom" setting and does not find it. This was from the error screen. I have not been able to locate where the image zoom is located (found the font adjustment). I am new to FireFox and would like to sort this out please.
Your installed plug in assume Shockwave Flash 10.3, but I thought it was Adobe Flash 10.3. Are they one and the same?
Below is the warning message from the Error ConsoleI'm not sure the CSS warning is relevant to Flash. Maybe adjust your overall zoom level on Facebook manually from the View menu?
View > Zoom
If you have the orange Firefox button, tap the Alt key to display the classic menu bar. -
Hi Folks,
I have created 9 jpeg files out of MS Powerpoint which I exported into a slideshow.
When exporting this slideshow, it wants to ceate a file of 1,2GB whilst the jpeg files are all around 97kb in size.
What could the problem be and how do I sort this out?
Kindest regardsWhen exporting the slidehow out of iPhoto what size are you selecting for import, what size ration is selected in the slideshow's Settings pane, how many slides, what pixel dimensions are they have and what theme are you using?
OT -
How do I get iTunes 11 to work as the old iTunes did in this respect: after playing a song in one playlist, I click on another playlist, highlight a song, press play, and get the result of that song playing & that playlist continuing? As it goes now, one clicks on the song in the new playlist where the arrow is and then chooses 'Play Song Next.' So, it plays next, but then the song after that is back in the old playlist. I want to use iTunes smoothly without the extra clicks I've had to do in order to get the playlist to continue. This is music for background while I play the violin at restaurants, and extra clicks and hassle is quite unappreciated, especailly since it worked fine in the previous iTunes.
Thanks.At the top of the playlist where it shows the playlist title and the number of songs, there are two icons. Click the "play" triangle to add the entire playlist to "Up Next", or the "shuffle" symbol to do the same thing but in random order. But the currently playing track will stop playing, and all the songs in "Up Next" will be removed (replaced by the ones from this playlist).
If you hold down the "option" key while clicking those icons, the currently playing song will continue playing, and the new playlist will be added to "Up Next" (above the songs that were already there). -
Oracle apps are producing XML output in the C Mgrs that the user can't read
Hi all,
please help on the below issue.
Oracle apps (AP & others) are producing XML output in the Concurrent Managers that the user cannot read. There are two flavors, as an error message: The XML page cannot be displayed Cannot view XML input using XSL style
sheet.
The following tags were not closed: XLAACCPB, LIST_APPLICATION. Error processing resource ''https://xxxxxxxxxxxxxxx... as well as the XML text itself: - 200 Payables 200 Payables Y 1 xxxx US EXPENSE GL 2011-07-15T00:00:00.000+00:00 N No Y Y N D No Detail Y Yes Y N No - - 200 Payables - - 95293 The journal import request 39073188 has failed for the ledger xxxx US EXPENSE GL.
Thanks in advance
Kumarplease help on the below issue.Please post the details of the application release, database version and OS.
Oracle apps (AP & others) are producing XML output in the Concurrent Managers that the user cannot read. There are two flavors, as an error message: The XML page cannot be displayed Cannot view XML input using XSL style sheet. What is the exact/complete error message?
Please check the OPP log file for details about the error.
Troubleshooting Oracle XML Publisher For The Oracle E-Business Suite [ID 364547.1]
Unable to Display XML Page - "Cannot view XML input using XSL style sheet" [ID 730610.1]
Unable To Review XML Output From Application : "Cannot view XML input using XSL style sheet" [ID 437749.1]
Thanks,
Hussein -
I have the iPhone 4. and when I updated the software to iOS6 My notifications don't make a sound anymore, the only sound that I get are text messages, or Email. I checked to see if the other apps were muted and they weren't. How do I fix this
You cannot update iPhone 4 to IOS 8.1.2, the highest you can update is IOS 7.1.2.
Unless you've iPhone 4S (looks similar to iPhone 4) -
So, I made my account a while ago before I had an iPhone so I can get music. The result of that I can't remember my security questions, and it tells me to send a rescue email an alert, but it doesn't show you how to get to that page. I am getting quite annoyed because apples hours arent the best fitted to my scedule since I have school and work, so I cant call and ask how to get fixed. Please help me all I want to do is buy some music...
Click here and fill out the form.
(90729) -
When I send an email with Mail, I often confuse the account which I'm using. The result is that I send a message with the wrong account! Is there a way to avoid this (for example a reminder before the email is sent)?
Hi, thanks for the answer, I did that already. Unfortunatly this doesn't help me at all, as I often forget to check the menu. For me composing the message is writing the text, the subject, the person to who is addressed and than press "send".
I often forget to check the "from", and this is a problem because the software select itself one of the accounts.
Isn't there a way at least to put as a default a blank field instead of one of the accounts? or an account which doesn't work so if I forget to specify the "from" I will be rnotofied that the message can't be sent.
I guess this could be a rather common problem for many people!
Thanks
Sergio -
If I will install OS X Lion on the same partition that the Snow Leopard is I will loose all of my data?
One can't guarantee no data loss. See my backup FAQ*:
http://www.macmaps.com/backup.html
All else being equal, it will upgrade you to 10.7, but applications and drivers may need to be updated too. See my other FAQ* for other possible pitfalls:
http://www.macmaps.com/upgradefaq.html#LION -
Is there a way that you can copy and paste blade effects from one clip to the other so that the cuts are an exact duplicate of each other?
The same cuts that I have in this clip that i performed with the blade tool, I want to duplicate, copye, paste and apply to another clip. I want the cuts to mimic and be an exact same. I wish i could highlight the clip, click copy and then highlight the other clip and then click paste and the cuts apply.
-
I have an iPod Classic. I think it is a 5th generation. I would like to know if I can download games from the App store that say they are for iPads, iPhones, and iPod Touch. Will these work on my iPod Classic?
No, they won't.
(58155) -
Help with Adobe.premiere.elements12. Please
It would appear under the organizer tab that the photos are organised in the lowest folder in the folder structure within Windows Explorer. How can I use the Windows Explorer structure to organise the photos within Elements.In a situation such as yours, I tend to consolidate items into folders so I have folders of nice workable numbers of images, somewhere between 20 and 200 images. Now, whatever, once you've imported, do your moving within LR, not the OS! I will select all in a folder and drag into a folder a level or two or three above, and then delete the newly empty subfolders. I hope this helps a bit!
Once you've reached just new Imports of camera output, you'll be flying along. -
what does the error message that says " You are logged out because another computer is using this IP address." mean?
Some other piece of network ghardware on your home LAN (Local Area Network) is using the IP address your Mac is trying to use.
Reboot both your modem and router, or the Modem/Router combo box you have, and all pieces of networking equipment, computers and printers, you have connected to your LAN.
If you continue to get that error then it is a bug in OS X or you have your Mac set to a Static IP address that is being handed out by the routers DHCP server to some other device.
Maybe you are looking for
-
Hide fields for activities when they are opened via Activity Monitor
Hi, In CRM 5.0, my requirement was to hide a number of fields from activity display via transaction CRMD_ORDER & CIC0 (SAPGUI based transactions). I achieved it by using screen variant. I assigned my screen variant to different transactions (CRMD_ORD
-
How do I stop the Cp from advancing automatically to the next slide?
I'm using Windows NT and Adobe Captivate 4. Until now, I've been creating demos in Cp4 where the movie file just continues to the next slide automatically. Now I'm making the Cp files more interactive and would like to know how to make the movie no
-
Itunes says ipod touch is an iphone?
well I just bought my touch about two weeks ago, and it was working fine. but two days ago when I plugged it in, itunes said 'could not connect iphone' and then my touch just restarts (the black screen with the apple logo in the middle appears). it k
-
I have a new lion server and 4 lion laptops. The laptops loose connection to the shared documents and printers from the server after roughly 1 hour. By disconnecting and re-connecting wireless the connection is regained to shares and printers. We can
-
Hello, I work with in Lawrence Technological University and I had a student come up to me today explaining a problem he was having with in Flash CC. The problem was when he was drawing a circle real fast with the brush tool it would render in a squar