I have got a view based upon the SQL Statement shown below which works fine but one tiny problem: my hosting's company SQL Server is in the US and it considers the Start of week as Sunday, not Monday. Any way how handling this in my view ?SELECT TOP 100 PERCENT SUM(dbo.tblSiteStats.Ss_View) AS iViews, DATEPART(yyyy, dbo.tblSiteStats.Ss_Date) AS sAnio, dbo.tblSiteDesc.Sd_Title AS sTitle, dbo.tblSite.S_Id, dbo.tblSite.S_Name, dbo.tblSite.S_Logo, dbo.tblSiteDesc.Sd_Desc, DATEPART(wk, dbo.tblSiteStats.Ss_Date) AS sSemanaFROM dbo.tblSiteDesc INNER JOIN dbo.tblSite ON dbo.tblSiteDesc.Sd_Id = dbo.tblSite.S_Id INNER JOIN dbo.tblSiteStats ON dbo.tblSite.S_Id = dbo.tblSiteStats.Ss_SiteIdWHERE (dbo.tblSiteDesc.Sd_LanguageId = 5)GROUP BY dbo.tblSiteStats.Ss_SiteId, DATEPART(yyyy, dbo.tblSiteStats.Ss_Date), DATEPART(wk, dbo.tblSiteStats.Ss_Date), dbo.tblSiteDesc.Sd_Title, dbo.tblSite.S_Id, dbo.tblSite.S_Name, dbo.tblSite.S_Logo, dbo.tblSiteDesc.Sd_DescORDER BY DATEPART(yyyy, dbo.tblSiteStats.Ss_Date), DATEPART(wk, dbo.tblSiteStats.Ss_Date), SUM(dbo.tblSiteStats.Ss_View) DESC
jean-lucwww.corobori.com