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