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.

29 lines
481 B

  1. SET QUOTED_IDENTIFIER ON
  2. GO
  3. SET ANSI_NULLS ON
  4. GO
  5. CREATE VIEW FollowupInstances AS
  6. SELECT Followup,
  7. COUNT (DISTINCT BucketToInt.iBucket) AS Buckets,
  8. COUNT (DISTINCT BucketToCrash.CrashId) AS Instances
  9. FROM BucketToCrash, BucketToInt, Followups
  10. WHERE BucketToInt.iBucket = BucketToCrash.iBucket AND
  11. BucketToInt.iBucket = Followups.iBucket
  12. GROUP BY Followup
  13. GO
  14. SET QUOTED_IDENTIFIER OFF
  15. GO
  16. SET ANSI_NULLS ON
  17. GO