Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
475 B

  1. SET QUOTED_IDENTIFIER ON
  2. GO
  3. SET ANSI_NULLS ON
  4. GO
  5. CREATE PROCEDURE sp_SolvedIssuesToday
  6. AS
  7. BEGIN
  8. -- Display crash buckets solved today
  9. SELECT BucketId AS Bucket,
  10. SolveDate
  11. FROM SolvedIssues
  12. WHERE DATEPART(dd,SolveDate) = DATEPART(dd,GETDATE()) AND
  13. DATEPART(mm,SolveDate) = DATEPART(mm,GETDATE()) AND
  14. DATEPART(yy,SolveDate) = DATEPART(yy,GETDATE())
  15. END
  16. GO
  17. SET QUOTED_IDENTIFIER OFF
  18. GO
  19. SET ANSI_NULLS ON
  20. GO