Developer forum

Forum » Development » Quick question: Negative effects on creating an index on DW7.2

Quick question: Negative effects on creating an index on DW7.2

Steen Nørgaard Perdersen
Reply

Hi All,

 

The specialist at Dynamicweb is out of the house to day, but reaearch has showed that creating this index on a DW version 19.2.8.2 resolves issues with indexing products:
 

USE [thedatabasename]

GO

CREATE NONCLUSTERED INDEX EcomOrderLines_OrderLineProductID

 

 

ON [dbo].[EcomOrderLines] ([OrderLineProductID])

INCLUDE ([OrderLineProductVariantID])  

GO

 

 

Can anyone think of negative side effects?

 

Best regards,

Steen/Bleau


Replies

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

None, except nonclustered indexes are not compatible with SQL-Server on Azure.

 

Any reason why it is nonclustered opposed to clustered?

 

BR Nicolai

Votes for this answer: 1
 
Steen Nørgaard Perdersen
Reply

 

Thanks...

 

The sql sentence was constructed by HostNordic who helped investigate(or a tool of theirs) .... I personally don't have the knowlegde to argue.... You would recommend clustered?

 

//Steen

 
Nicolai Høeg Pedersen
Reply

If clusterede do the trick, you should use that.

 

You must be logged in to post in the forum