I need to make a query that will select items that have a date matching
the current month for example.
For June this means that any day between 2000-06-01 and 2000-06-30 are
ok. To do that I need a wildcard like "%" to replace the actual day in
the date field.
Ex.: select * from item where date = '2000-06-%%';
but that doesn't work... What is the right way?
Marc Andre Paquin
pgsql-sql by date
|Next:||From: Ed Loehr||Date: 2000-06-22 20:37:54|
|Subject: Re: Wildcard in date field???|
|Previous:||From: Jesus Aneiros||Date: 2000-06-22 14:53:36|
|Subject: Re: eliminating duplicates in results..|