我在 SQL Server 2008 R2 中自动生成了一个索引创建查询,并在 SQL Server 2000 上进行了尝试。它没有工作并且有错误。有人可以看看这个查询吗?谢谢!
USE [DBDBDB]
GO
CREATE NONCLUSTERED INDEX [Index_FullReturn] ON [dbo].[tbl_Ev_Data]
(
[OffDateTime] ASC,
[Type] ASC,
[Tag] ASC,
[Name] ASC,
[Description] ASC,
[Category] ASC
) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF,
IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF,
ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
GO