我创建了这个表,我试图填充它,但我不断收到错误。
这是创建表语句:
--Creating the table
CREATE TABLE tblModule07Partition_RI
(
column01 int,
column02 varchar not null CONSTRAINT column02default DEFAULT 'N/A',
CONSTRAINT column01Key PRIMARY KEY (column01)
)
ON psPartitionModule07_RI (column01)
WITH (DATA_COMPRESSION = ROW)
GO
--6 Inserting records into the table
INSERT INTO tblModule07Partition_RI
VALUES (50,'First Partition 1')
错误是这样的:
Msg 208, Level 16, State 1, Line 1
Invalid object name 'tblModule07Partition_RI'.
有什么建议吗?