Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Week function in SQL
Wed, Apr 29 2009 3:56 AMPermanent Link

Hiba Hable
Hello,

please could you tell me how to use the week function in sql, meaning i want to check the week of a column name is between 2 certain numbers.

thanks
Wed, Apr 29 2009 7:53 AMPermanent Link

"Robert"

"Hiba Hable" <hiba_hable@hotmail.com> wrote in message
news:95624725-1D4D-4C2A-905C-167AF721EAC8@news.elevatesoft.com...
> Hello,
>
> please could you tell me how to use the week function in sql, meaning i
> want to check the week of a column name is between 2 certain numbers.
>

select *, extract(week from insp_date) from audits
where extract(week from insp_date) between 1 and 10

Robert

Image