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.

23 lines
456 B

  1. SET QUOTED_IDENTIFIER ON
  2. GO
  3. SET ANSI_NULLS ON
  4. GO
  5. CREATE VIEW BucketCounts AS
  6. SELECT CrashInstances.BucketId,
  7. Followup,
  8. COUNT (DISTINCT CrashInstances.CrashId) AS Instances,
  9. CrashBuckets.BugId
  10. FROM CrashBuckets, CrashInstances
  11. WHERE CrashBuckets.BucketId = CrashInstances.BucketId
  12. GROUP BY CrashBuckets.Followup, CrashInstances.BucketId
  13. GO
  14. SET QUOTED_IDENTIFIER OFF
  15. GO
  16. SET ANSI_NULLS ON
  17. GO