Problem with Format(Date) in SQL statement
- From: "G Gerard" <ggerard@xxxxxxxxxxx>
- Date: Sat, 29 Apr 2006 01:08:06 GMT
Hello
I am having some problem comparing dates with the SQL statement below
MySQL = "SELECT Format(Date, 'yyyy/mmmm/dd') as [Expr1] FROM TblDates WHERE
_
Format(Date, 'yyyy/mmmm/dd') = #2006/April/18#"
Even though the date 2006/April/18 is in TblDates, it is never found by the
above SQL statement
Anyone know why?
Thanks
G Gerard
.
- Follow-Ups:
- Re: Problem with Format(Date) in SQL statement
- From: John Mishefske
- Re: Problem with Format(Date) in SQL statement
- Prev by Date: Re: Text word wrap
- Next by Date: Re: Problem with Format(Date) in SQL statement
- Previous by thread: Generate report based on selected value
- Next by thread: Re: Problem with Format(Date) in SQL statement
- Index(es):
Relevant Pages
|
|