changing the auto_increment syntax works great! how about this though
-------------
CREATE TABLE mrbs_entry
(
id int PRIMARY KEY IDENTITY,
start_time int DEFAULT '0' NOT NULL,
end_time int DEFAULT '0' NOT NULL,
entry_type int DEFAULT '0' NOT NULL,
repeat_id int DEFAULT '0' NOT NULL,
room_id int DEFAULT '1' NOT NULL,
timestamp timestamp,
create_by varchar(80) DEFAULT '' NOT NULL,
name varchar(80) DEFAULT '' NOT NULL,
type char DEFAULT 'E' NOT NULL,
description text,
private TINYINT(1) NOT NULL DEFAULT 0,
PRIMARY KEY (id),
KEY idxStartTime (start_time),
KEY idxEndTime (end_time)
);
---------------
error
------------
Msg 156, Level 15, State 1, Line 45
Incorrect syntax near the keyword 'KEY'.
-----------