maybe you can save some string like this with only one column in database:
0000001  means Sunday
0000011  means Saturday and Sunday

anyone has a better choice?

On Mon, Dec 27, 2010 at 6:38 PM, pramod.deore <[email protected]>wrote:

> Hi, I have a String array (which contains some day  from Monday -
> Sunday). But which days are stored is decided at runtime means
> sometime it want to store all day or sometime 1 or none. Now I want to
> store this array in database. How to save array of string in database?
> Or should I create 7 columns in that table?
> Thanks.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to