I'm talking under correction here, but

SET('y'.'n') default 'n' NOT NULL - should work.  I normally just do all
this stuff via phpmyadmin, it works really great...

--
me


----- Original Message -----
From: "Jason Soza" <[EMAIL PROTECTED]>
To: "MySQL Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, June 07, 2002 5:06 AM
Subject: Stupid Q


> Hoping someone can help me here:
>
> I've made a column using SET("y","n") NOT NULL - I want the default value
in
> that column to be "n", so if no data is entered for that column, it'd be
"n"
> automatically.
>
> How do I do that? Not sure what to search for in the manual.
>
> Jason Soza
>
> filter fodder: sql, query
>
>
> ---------------------------------------------------------------------
> 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

Reply via email to