try: create table aaa(id int(5) unsigned not null, name text); not sure why but unsigned needs to come before not null.
=C= * * Cal Evans * The Virtual CIO * http://www.calevans.com * -----Original Message----- From: Octavian Rasnita [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 29, 2002 8:07 AM To: [EMAIL PROTECTED] Subject: Why "unsigned" doesn't work? Hi all, I've tried the following SQL line in MySQL 4.05 for Windows and it told me that there is an error starting from "unsigned...". mysql> create table aaa(id int not null unsigned, name text); Can you tell me why doesn't it work? Thank you. Teddy, Teddy's Center: http://teddy.fcc.ro/ Email: [EMAIL PROTECTED] --------------------------------------------------------------------- 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 --------------------------------------------------------------------- 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