我在 SQL Server 2008R2 中有一个奇怪的大错误:
我有以下声明:
DROP TABLE TEST_
-- here it says that this table doesn't exists
GO
CREATE TABLE TEST_(
[ID_] [int] IDENTITY(1,1) NOT NULL,
[ITEM_] NVARCHAR(255) NOT NULL,
CONSTRAINT [TEST_] PRIMARY KEY CLUSTERED
(
[ID_] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
-- here says that table already exists
请关注评论。这个事实也发生在你身上吗?
我无法重新创建表。我该怎么办?
PS:我选择了相同的数据库