How to create nonclustered index in Create Table.
- by isthatacode
Create table FavoriteDish
(
FavID int identity (1,1) primary key not null,
DishID int references Dishes(DishID) not null ,
CelebrityName nvarchar(100) nonclustered not null
)
This results in - Incorrect syntax near the keyword 'nonclustered'.
I referred the MSDN help for create table syntax. I am not sure whats wrong here?
Thanks for reading.