Link to home
Start Free TrialLog in
Avatar of enrique_aeo
enrique_aeo

asked on

PRIMARY KEY NONCLUSTERED

Hi Experts,

I am creating a table for a datawarehouse bd, my question is: because the dimension tables must in PRIMARY KEY NONCLUSTERED

for example:
CREATE TABLE DimProduct
(ProductKey int identity NOT NULL PRIMARY KEY NONCLUSTERED,
 ProductAltKey nvarchar(10) NOT NULL,
 ProductName nvarchar(50) NULL,
 ProductDescription nvarchar(100) NULL,
 ProductCategoryName nvarchar(50))
GO
Avatar of Kent Olsen
Kent Olsen
Flag of United States of America image

Hi enrique,

I don't see a question there.  :)
ASKER CERTIFIED SOLUTION
Avatar of PortletPaul
PortletPaul
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial