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.

141 lines
5.7 KiB

  1. /****** Object: Table [dbo].[DBGPortal_AliasData] Script Date: 8/15/2002 03:36:30 PM ******/
  2. if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[DBGPortal_AliasData]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
  3. drop table [dbo].[DBGPortal_AliasData]
  4. GO
  5. /****** Object: Table [dbo].[DBGPortal_BucketDataV3] Script Date: 8/15/2002 03:36:30 PM ******/
  6. if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[DBGPortal_BucketDataV3]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
  7. drop table [dbo].[DBGPortal_BucketDataV3]
  8. GO
  9. /****** Object: Table [dbo].[DBGPortal_CrashDataV3] Script Date: 8/15/2002 03:36:30 PM ******/
  10. if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[DBGPortal_CrashDataV3]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
  11. drop table [dbo].[DBGPortal_CrashDataV3]
  12. GO
  13. /****** Object: Table [dbo].[DBGPortal_ResponseQueue] Script Date: 8/15/2002 03:36:30 PM ******/
  14. if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[DBGPortal_ResponseQueue]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
  15. drop table [dbo].[DBGPortal_ResponseQueue]
  16. GO
  17. /****** Object: Table [dbo].[DBGPortal_AliasData] Script Date: 8/15/2002 03:36:31 PM ******/
  18. CREATE TABLE [dbo].[DBGPortal_AliasData] (
  19. [AliasID] [int] IDENTITY (1, 1) NOT NULL ,
  20. [Alias] [varchar] (15) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
  21. [CustomQueryDesc] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
  22. [CustomQuery] [varchar] (1000) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
  23. ) ON [PRIMARY]
  24. GO
  25. /****** Object: Table [dbo].[DBGPortal_BucketDataV3] Script Date: 8/15/2002 03:36:33 PM ******/
  26. CREATE TABLE [dbo].[DBGPortal_BucketDataV3] (
  27. [bHasFullDump] [tinyint] NULL ,
  28. [iBucket] [int] NULL ,
  29. [iFollowUp] [int] NULL ,
  30. [SolutionID] [int] NULL ,
  31. [BugID] [int] NULL ,
  32. [CrashCount] [int] NULL ,
  33. [FollowUp] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
  34. [BucketID] [varchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
  35. [DriverName] [varchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
  36. [iIndex] [int] IDENTITY (1, 1) NOT NULL
  37. ) ON [PRIMARY]
  38. GO
  39. /****** Object: Table [dbo].[DBGPortal_CrashDataV3] Script Date: 8/15/2002 03:36:34 PM ******/
  40. CREATE TABLE [dbo].[DBGPortal_CrashDataV3] (
  41. [bViewed] [tinyint] NULL ,
  42. [bFullDump] [tinyint] NULL ,
  43. [SKU] [tinyint] NULL ,
  44. [Source] [tinyint] NULL ,
  45. [ItemIndex] [int] IDENTITY (1, 1) NOT NULL ,
  46. [BuildNo] [int] NULL ,
  47. [iBucket] [int] NULL ,
  48. [EntryDate] [datetime] NULL ,
  49. [Guid] [uniqueidentifier] NOT NULL ,
  50. [BucketID] [varchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
  51. [FilePath] [nvarchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
  52. [Email] [nvarchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
  53. [Description] [nvarchar] (512) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
  54. ) ON [PRIMARY]
  55. GO
  56. /****** Object: Table [dbo].[DBGPortal_ResponseQueue] Script Date: 8/15/2002 03:36:34 PM ******/
  57. CREATE TABLE [dbo].[DBGPortal_ResponseQueue] (
  58. [QueueIndex] [int] IDENTITY (1, 1) NOT NULL ,
  59. [Status] [int] NULL ,
  60. [ResponseType] [int] NULL ,
  61. [DateRequested] [smalldatetime] NULL ,
  62. [DateCreated] [smalldatetime] NULL ,
  63. [RequestedBy] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
  64. [CreatedBy] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
  65. [BucketID] [varchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
  66. [Description] [nvarchar] (1024) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
  67. ) ON [PRIMARY]
  68. GO
  69. CREATE CLUSTERED INDEX [IX_DBGPortal_AliasData] ON [dbo].[DBGPortal_AliasData]([Alias]) ON [PRIMARY]
  70. GO
  71. CREATE CLUSTERED INDEX [IX_DBGPortal_BucketDataV3] ON [dbo].[DBGPortal_BucketDataV3]([CrashCount] DESC , [SolutionID] DESC , [BugID]) ON [PRIMARY]
  72. GO
  73. CREATE CLUSTERED INDEX [IX_DBGPortal_CrashDataV3] ON [dbo].[DBGPortal_CrashDataV3]([BucketID]) ON [PRIMARY]
  74. GO
  75. CREATE CLUSTERED INDEX [IX_ResponseQueue] ON [dbo].[DBGPortal_ResponseQueue]([BucketID]) ON [PRIMARY]
  76. GO
  77. ALTER TABLE [dbo].[DBGPortal_BucketDataV3] WITH NOCHECK ADD
  78. CONSTRAINT [PK_DBGPortal_BucketDataV3] PRIMARY KEY NONCLUSTERED
  79. (
  80. [iIndex]
  81. ) ON [PRIMARY]
  82. GO
  83. ALTER TABLE [dbo].[DBGPortal_ResponseQueue] WITH NOCHECK ADD
  84. CONSTRAINT [PK_ResponseQueue] PRIMARY KEY NONCLUSTERED
  85. (
  86. [QueueIndex]
  87. ) ON [PRIMARY]
  88. GO
  89. CREATE INDEX [IX_DBGPortal_BucketDataV3_1] ON [dbo].[DBGPortal_BucketDataV3]([FollowUp]) ON [PRIMARY]
  90. GO
  91. CREATE INDEX [IX_DBGPortal_BucketDataV3_2] ON [dbo].[DBGPortal_BucketDataV3]([DriverName]) ON [PRIMARY]
  92. GO
  93. CREATE INDEX [IX_DBGPortal_BucketDataV3_3] ON [dbo].[DBGPortal_BucketDataV3]([BugID]) ON [PRIMARY]
  94. GO
  95. CREATE INDEX [IX_DBGPortal_BucketDataV3_4] ON [dbo].[DBGPortal_BucketDataV3]([BucketID]) ON [PRIMARY]
  96. GO
  97. CREATE INDEX [IX_DBGPortal_BucketDataV3_5] ON [dbo].[DBGPortal_BucketDataV3]([bHasFullDump]) ON [PRIMARY]
  98. GO
  99. CREATE INDEX [IX_DBGPortal_CrashDataV3_1] ON [dbo].[DBGPortal_CrashDataV3]([bFullDump] DESC ) ON [PRIMARY]
  100. GO
  101. CREATE INDEX [IX_DBGPortal_CrashDataV3_2] ON [dbo].[DBGPortal_CrashDataV3]([EntryDate] DESC ) ON [PRIMARY]
  102. GO
  103. CREATE INDEX [IX_DBGPortal_CrashDataV3_3] ON [dbo].[DBGPortal_CrashDataV3]([BuildNo] DESC ) ON [PRIMARY]
  104. GO
  105. CREATE INDEX [IX_DBGPortal_CrashDataV3_4] ON [dbo].[DBGPortal_CrashDataV3]([Source] DESC ) ON [PRIMARY]
  106. GO
  107. CREATE INDEX [IX_DBGPortal_CrashDataV3_5] ON [dbo].[DBGPortal_CrashDataV3]([Email] DESC ) ON [PRIMARY]
  108. GO
  109. CREATE INDEX [IX_DBGPortal_CrashDataV3_6] ON [dbo].[DBGPortal_CrashDataV3]([Guid] DESC ) ON [PRIMARY]
  110. GO
  111. CREATE INDEX [IX_ResponseQueue_1] ON [dbo].[DBGPortal_ResponseQueue]([DateRequested]) ON [PRIMARY]
  112. GO
  113. CREATE INDEX [IX_ResponseQueue_2] ON [dbo].[DBGPortal_ResponseQueue]([Status]) ON [PRIMARY]
  114. GO