Subject | Re: [IBO] Select customers from month of birthday |
---|---|
Author | Andrew |
Post date | 2004-09-13T20:39:38Z |
psangelotti2 wrote:
select name, dtnasc, telephone
from customers
where
extract(month from dtnasc)=9
order by dtnasc
[Non-text portions of this message have been removed]
>Hi all,Try this, it's from memory and not tested:
> I am trying to select the customers born in one determined month and
>I am not obtaining.
>The syntax that I am using is the following one:
>select name, dtnasc, telephone
> from customers where month(dtnasc) = 9
> order by dtnasc
>I also tried: where month(dtnasc) = '9' and where month(dtnasc)
>= 'AUG'
>
>
select name, dtnasc, telephone
from customers
where
extract(month from dtnasc)=9
order by dtnasc
[Non-text portions of this message have been removed]