How to create a dummy column to contain a name based on a number of checkbox values

I have a table containing a number of columns relating to check boxes on a form. For example these check box values correspond to ice cream flavours so each time a flavour is checked on the form, a 1 is stored under the flavour in the table. I need to create a dummy column that will store the ice cream flavour based around a case statement that will say, if checkbox.vanilla = 1, then place the word vanilla under the flavours (dummy column).

more ▼

asked Aug 07, 2012 at 03:03 PM in Default

avatar image

0 1 1 1

(comments are locked)
10|1200 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.



asked: Aug 07, 2012 at 03:03 PM

Seen: 1156 times

Last Updated: Aug 07, 2012 at 03:03 PM

Copyright 2018 Redgate Software. Privacy Policy