This is a discussion on working with a date within the MySQL Database forums, part of the Database Forums category; I'm wanting to return all the data from my database for an exact date. My date field is a ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I'm wanting to return all the data from my database for an exact date. My
date field is a timestamp. Here is the code that I have been trying to use: select * from production where date like '2007-05-30'; or select * from production where date = '2007-05-30'; Thanks for any help that you can provide. A |
|
|||
|
On 4 Jun, 15:49, "Auddog" <wil...@hotmail.com> wrote:
> I'm wanting to return all the data from my database for an exact date. My > date field is a timestamp. Here is the code that I have been trying to use: > > select * from production where date like '2007-05-30'; > > or > > select * from production where date = '2007-05-30'; > > Thanks for any help that you can provide. > > A Look at: http://dev.mysql.com/doc/refman/5.0/...on_date-format |
![]() |
| Thread Tools | |
| Display Modes | |
|
|