Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

can Columnstore Indexe co- exists cluster index

$
0
0
hi,i have created a fact table which has unique cluster index as below, CREATE UNIQUE CLUSTERED INDEX [FactSales_SalesID] ON [dbo].[FactSales] (salesid ASC)WITH (DATA_COMPRESSION = PAGE)GOhowever later when i add CLUSTERED COLUMNSTORE INDEXES :CREATE CLUSTERED COLUMNSTORE INDEX CSI_FactSales ON dbo.FactSales WITH (DATA_COMPRESSION = COLUMNSTORE)GOit prompts error.Msg 35372, Level 16, State 3, Line 167You cannot create more than one clustered index on table 'dbo.FactSales'. Consider creating a new clustered index using 'with (drop_existing = on)' option.can anyone help? many thanks

Viewing all articles
Browse latest Browse all 3145

Trending Articles