On Tue, 6 Mar 2001, Mike<mickalo>Blezien wrote:
> >>Try giving a number instead of a string as a default for an int.
>
> Not sure I follow, it is a number??
>
> >>>  refer_id int(10) UNSIGNED DEFAULT '100' NOT NULL,

Your '100' is a string. Try something like this:

refer_id int(10) UNSIGNED NOT NULL DEFAULT 100,

Regards,
Jan-Aage

--
Mr. Jan-Aage Bruvoll                      Managing Director
Bruvoll Brains in Bits, 7a Neal's Yard, London WC2H 9DP, UK
Office/fax: +44 20 72408283          Mobile: +44 7740291600


---------------------------------------------------------------------
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