Try this
declare @aVal int, @bVal int;select @aVal = min(d.DateValue), @bVal = max(d.DateValue) from dbo.dimDate dwhere d.BusinessYear = 2014
[Personal Site] [Blog] [Facebook]
No comments:
Post a Comment