求一简单sql语句,

求一简单sql语句,在线等,急。数据库中有一year和month字段。我想这样...whereyear当然的年andmonth当前的

求一简单sql语句,在线等,急。
数据库中有一year和month字段。我想这样

...     where   year=当然的年   and   month=当前的月

怎么写呀。

[解决办法]

where year=year(getdate()) and month=month(getdate())