MySQL Forums
Forum List  »  InnoDB

Re: ENUM Restriction? Number of columns doesn't matter.
Posted by: Joseph Caristi
Date: January 09, 2009 12:21PM

Exact error is "ERROR Code : 1117 Too many columns"

I cannot include the entire script because it is too large. An abbreviated script is here (the only thing missing is extra ENUM entries - actual number is about 6450):

CREATE TABLE `Application4` (
`Application4Id` INT unsigned NOT NULL AUTO_INCREMENT,
`PartTerminologyName`

ENUM (

'3 Way Terminal',
'4 Way Terminal',
'4WD Actuator',
'4WD Actuator Wire Harness',
'4WD Disconnect',
'4WD Switch',
'A.I.R Control Relay',
'A/C Accumulator',

...

'Workbench',
'Worklight',
'Wristwatch',
'X-Contact Relay',
'Xenon Headlight Bulb',
'Xenon Headlight Control Module',
'Xenon Headlight Control Relay',
'Xenon Headlight Igniter'),
PRIMARY KEY(Application4Id)
) ENGINE=innodb;

Options: ReplyQuote


Subject
Views
Written By
Posted
3020
January 06, 2009 02:38PM
1689
January 06, 2009 09:38PM
Re: ENUM Restriction? Number of columns doesn't matter.
1910
January 09, 2009 12:21PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.