Extracting the year
How to select records from a choosen year?
Something like this
select myfield from mytable where year(myfield) 06
Regards R. Stormo
Re: Extracting the year
none wrote:
> How to select records from a choosen year?
> Something like this
>
> select myfield from mytable where year(myfield) 06
It's in the documentation:
http://www.postgresql.org/docs/
-> SQL Language
-> Functions and Operators
-> Date/Time Functions and Operators
/Bent