Viewing 2 posts - 1 through 2 (of 2 total)
datename(mm,events.date) will give you 'May' and 'June' from your where clause. Ordering by the NAME will put June first.
Is this what you want? Maybe order by datepart, not datename.
June 5, 2005 at 8:33 am
#563113
I know you worked around this already, but can't you replace the ANY ( select data_source_code from data_source where data_source_code <> '30' )with ( select top 1 data_source_code from data_source where...
I know you worked around this already, but can't you replace the
ANY ( select data_source_code
from data_source
where data_source_code <> '30'
)
with
( select top 1 data_source_code
where...
June 3, 2005 at 3:40 pm
#563021