May 15, 2017 at 9:15 am
hi ..Can anyone tell me what is the error here. I tried closing the table and adding but it still give errors 🙁
CREATE TABLE [Comp].[Model](
[Model] [nvarchar](255) NOT NULL,
[ModelCondition] [nvarchar](100) NULL )
WITH (DATA_COMPRESSION = PAGE) ON [Comp]
May 15, 2017 at 9:22 am
komal145 - Monday, May 15, 2017 9:15 AM.Can anyone tell me what is the error here.
SQL Server probably can. What is the error message?
John
May 15, 2017 at 9:22 am
Hi Komal,
Please try putting the ON clause before WITH clause. So it might look like
CREATE TABLE [Comp].[Model](
[Model] [nvarchar](255) NOT NULL,
[ModelCondition] [nvarchar](100) NULL ) ON [Comp]
WITH (DATA_COMPRESSION = PAGE)
Please check and let us know.
Thanks.
May 15, 2017 at 9:25 am
thank you it works.
May 15, 2017 at 9:25 am
komal145 - Monday, May 15, 2017 9:15 AMhi ..Can anyone tell me what is the error here. I tried closing the table and adding but it still give errors 🙁CREATE TABLE [Comp].[Model](
[Model] [nvarchar](255) NOT NULL,
[ModelCondition] [nvarchar](100) NULL )
WITH (DATA_COMPRESSION = PAGE) ON [Comp]
You have the clauses inverted.
CREATE TABLE [Comp].[Model](
[Model] [nvarchar](255) NOT NULL,
[ModelCondition] [nvarchar](100) NULL )
ON [Comp] WITH (DATA_COMPRESSION = PAGE)
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply