I'm trying to create a database for a game I play and a friend provided a table query for me to use, but MSSMS sees it as broken. I personally know very little about sql servers and would appreciate help with fixing this script.
CREATE TABLE IF NOT EXISTS `smachivement_players` (`id` int(11) NOT NULL,
`points` int(11) NOT NULL,
`player` varchar(50) NOT NULL,
`achievements` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1;
ALTER TABLE `smachivement_players`
ADD PRIMARY KEY (`id`);
ALTER TABLE `smachivement_players`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1;
Again, this is for a game but is quite necessary for what I plan to log here.
Thank you for your time.