On 31 May 2002, at 11:56, T. Dahms wrote:

> This line ->
> building_idx decimal(8,0) unsigned zerofill DEFAULT '00000000' not
> null auto_increment <-is in a supplied perl script and causes the
> error message.

An AUTO_INCREMENT column has to be an integer (see 
http://www.mysql.com/doc/C/R/CREATE_TABLE.html).
Try INT or MEDIUMINT instead of DECIMAL(8,0).

[Filter fodder: SQL]

-- 
Keith C. Ivey <[EMAIL PROTECTED]>
Tobacco Documents Online
http://tobaccodocuments.org

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to