Re: adding set field
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: adding set field

From: meltedown <groups2@reenie.org>
Date: Tue Sep 27 2005 - 00:37:31 CEST

Gordon Burditt wrote:
>> What is missing form this SQL-query:
>>
>>ALTER TABLE `logins` ADD `categories` SET
>
>
> The list of things that it's a set of:
>
> ALTER TABLE `logins` ADD `categories`
> SET ('spammer', 'murderer', 'kidnapper', 'thief', 'top-poster', 'terrorist');
>
> Also, check that this is available on your version of MySQL.
>
> Gordon L. Burditt

It's available, I guess what has me buggered is that phpMyAdmin seems
like it will allow the interface to do this, but there's no way to add
the SET values.
Received on Tue Oct 18 02:28:22 2005