Can I query like this -
select * from dbo.table
where datepart(mm,query_date)= 6 or
datePart(mm,query_date) = 12
and can I add this select statement as a subquery and how would I do that?
thanks
SQLNeube
Helppppp
I need to retrieve all the events that happened between June and December from a table(I don’t care about the year). What syntax would I use?
thanks
SQLNeubie
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.