List:General Discussion« Previous MessageNext Message »
From:Chris Knipe Date:June 7 2002 3:17am
Subject:Re: Stupid Q
View as plain text  
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" <solja@stripped>
To: "MySQL Mailing List" <mysql@stripped>
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 <mysql-thread111269@stripped>
> To unsubscribe, e-mail
<mysql-unsubscribe-savage=savage.za.org@stripped>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>

Thread
Stupid QJason Soza7 Jun
  • Re: Stupid QChris Knipe7 Jun
  • Re: Stupid QGerald Clark7 Jun