Date |Fri, 27 Jul 2001 00:47:50 EDT
>From |[EMAIL PROTECTED]
Hello!
C> I am having trouble setting a column attribute to not null. Below is the
C> statement I am using:
C> create table table_name (
C> Column_Name not null
C> );
C> If this is not the correct way to do it, can someone please help me...this is
C> my first mysql database.
You need to specify what type of data will be stored in Column_Name column.
Look here:
http://www.mysql.com/doc/C/o/Column_types.html
___________________________________________________________________
For technical support contracts, visit https://order.mysql.com/
This email is sponsored by SWSoft, http://www.asplinux.ru/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Grigory Bakunov <[EMAIL PROTECTED]>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB / SWSoft
/_/ /_/\_, /___/\___\_\___/
<___/ www.mysql.com
---------------------------------------------------------------------
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