![]() |
|
#1
|
|||
|
|||
MySQL date helpHi,
I have a situation to solve. i have date stored in a table, not in a date format but in three different fields of type numeric. first is day, second is month, and third is year. i want to compare dates in query. Is is possible. Thanks in advance. |
|
#2
|
||||
|
||||
Re: MySQL date helpI don't know how involved the task you have to accomplish may be, but you can build those 3 values into a string, and then use it...
Code:
What I would probably do is add another date-type field to the table, update the new field based on the concat() of the 3 values [to have a real date field] and then use the new date field in a query. HTH. __________________
Use the force...read the source!! WYCIWYG -- what you code is what you get! |
Recent GIDBlog
Last Week of IA Training by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Limit combo box and date time picker choice according to database created in folder | shinyhui | CPP / C++ Forum | 0 | 22-Feb-2005 20:16 |
| Limit combo box and date time picker choice according to database created in folder | shinyhui | MS Visual C++ / MFC Forum | 0 | 22-Feb-2005 02:13 |
| Rookie problem with date format | cave monkey | MySQL / PHP Forum | 4 | 18-Mar-2004 08:41 |
| Windows: From only £20p/y,Linux: from $10p/m. ASP, ASP.NET, PHP, Free MySQL, +More | EyotaHosts | Web Hosting Advertisements & Offers | 0 | 28-Jun-2003 13:54 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The