2012-08-24 80 views
0

我自動在SQL Server 2008 R2中生成了一個索引創建查詢,並在SQL Server 2000上嘗試了它。它沒有工作並且有錯誤。有人可以看看這個查詢嗎?謝謝!爲什麼不能在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 
+4

請張貼* *完整且準確的**錯誤信息(s)你會得到 - 這將非常有助於弄清楚什麼是錯誤的! –

回答

相關問題