text/microsoft-resx 2.0 System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 select t.Name, s.Name as Scenario_Name, s.ProjectedRevenue, s.ExpectedGrossMargin, s.CalculatedGrossMargin, s.CalculatedGrossMargin_LM, s.StartDate, s.EndDate, s.Duration, s.TDDirectCosts, s.TDDirectCosts_LM, s.BUDirectCosts, s.BUDirectCosts_LM, s.CostSavings, s.CostSavingsStartDate, s.CostSavingsEndDate, s.CostSavingsType, p.Name as Project_Name, p.Priority, p.Probability, p.Deadline, st.Name as Status_Name, p.IsRevenueGenerating, (SELECT DATEDIFF(wk, s.CostSavingsStartDate, s.CostSavingsEndDate)) AS CS_Duration, t.Id as TeamId from Project p, Scenario s, Team t, Team2Project tp, Status st where t.Id = tp.TeamId and p.Id = tp.ProjectId and s.ParentId = p.Id and st.Id = p.StatusId and p.IsRevenueGenerating=1 and s.Status=1