I am trying to script out the creation of a table for the first time (usaly I do it in Management Studio) and looking at BOL the examples they show for creating a table all end with "ON PRIMARY;" but when I use it I am told "Incoorect syntax near PRIMARY, expecting ID, quotied_id, string, or text_lex. If I add [] around PRIMARY the error goes away. Can anyone tell me what I am doing wrong?CREATE TABLE dbo.SectionInfo( SectionID smallint IDENTITY(0,1) NOT NULL, SectionTitle varchar(250) NOT NULL, ShortName varchar(50) NOT NULL, LinkName varchar(50) NOT NULL, Synopsis varchar(MAX) NOT NULL CONSTRAINT PK_SectionID PRIMARY KEY CLUSTERED)ON PRIMARY;
-- If I get used to envying others...Those things about my self I pride will slowly fade away.-Stellvia