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.

42 lines
501 B

  1. SET QUOTED_IDENTIFIER ON
  2. GO
  3. SET ANSI_NULLS ON
  4. GO
  5. CREATE PROCEDURE sp_NewIssuesThisWeek
  6. AS
  7. BEGIN
  8. -- Display new crashes added today
  9. /* SELECT BucketMap.BucketId AS Bucket,
  10. MIN(EntryDate)AS OldestEntry
  11. FROM CrashInstances, BucketMap
  12. WHERE DATEDIFF(day,EntryDate,GETDATE()) <= 7 AND BucketMap.CrashId = CrashInstances.CrashId
  13. GROUP BY BucketId
  14. */
  15. EXEC sp_NewIssues 7
  16. END
  17. GO
  18. SET QUOTED_IDENTIFIER OFF
  19. GO
  20. SET ANSI_NULLS ON
  21. GO