about data type

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
bugthefixer
Forum Contributor
Posts: 118
Joined: Mon Mar 22, 2004 2:35 am

about data type

Post by bugthefixer »

i want to make a field in which i wud save status of seven days in week..
like
{mon,tues,wed,thur,fri,sat,sun}

and now i wud save status as
{y,y,n,n,y,n,n}

is there any datatype that can stoe in such a form
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

sounds like a good place for a SET.
Post Reply