Reputation: 11881
This is a bit puzzling.
I have a unique non-clustered index I want to turn into the clustered index for that table.
I can't drop and recreate the index, because dropping the index on the AI column is illegal.
here's the current DDL
CREATE TABLE `RETS_STAGE1_QUEUE` (
`LN_LIST_NUMBER` int(8) unsigned zerofill NOT NULL,
`RECORDMODDATE` datetime NOT NULL,
`syncTime` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`xmlText` varchar(64000) NOT NULL,
`RETS_STAGE1_QUEUE_ID` int(10) unsigned NOT NULL AUTO_INCREMENT,
UNIQUE KEY `RETS_STAGE1_QUEUE_ID` (`RETS_STAGE1_QUEUE_ID`)
) ENGINE=InnoDB AUTO_INCREMENT=838053 DEFAULT CHARSET=latin1 ROW_FORMAT=COMPRESSED
Upvotes: 0
Views: 103