标题:[求助]请问出错是什么原因?
取消只看楼主
janefishfish
Rank: 1
等 级:新手上路
帖 子:50
专家分:0
注 册:2006-6-24
 问题点数:0 回复次数:1 
[求助]请问出错是什么原因?
CREATE TABLE [dbo].[Menu](
[MenuID] [varchar](20) COLLATE Chinese_PRC_CI_AS NOT NULL,
[MenuName] [varchar](50) COLLATE Chinese_PRC_CI_AS NOT NULL,
CONSTRAINT [PK_Menu1] PRIMARY KEY CLUSTERED
(
[MenuID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

为什么执行时会出现这个错误
Msg 170, Level 15, State 1, Line 7
Line 7: Incorrect syntax near '('.
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]这一句有错
2006-07-24 17:33
janefishfish
Rank: 1
等 级:新手上路
帖 子:50
专家分:0
注 册:2006-6-24
得分:0 
why IGNORE_DUP_KEY = OFF can be only used in Create Index query?
how to distinguish Index query or not Index query ?

2006-07-24 17:55



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-80048-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.194989 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved