declare @year smallint,@week tinyint
select @year = 2006
select @week = 15
select DateAdd(dd,(@week - 1) * 7 + ((9 - DatePart(weekDay,'1.1.' + convert(varchar,@year))) % 7),'1.1.' + convert(varchar,@year))
declare @year smallint,@week tinyint
select @year = 2006
select @week = 15
select DateAdd(dd,(@week - 1) * 7 + ((9 - DatePart(weekDay,'1.1.' + convert(varchar,@year))) % 7),'1.1.' + convert(varchar,@year))