x
login about faq Site discussion (meta-askssc)

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 '12 at 03:03 PM in Default

reddevil87 gravatar image

reddevil87
0 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

By RSS:

Answers

Answers and Comments



Facebook logo Follow Ask SSC on Facebook
Find Ask SSC on Google+
linkedin logo Find us on LinkedIn

Topics:

x14

asked: Aug 07 '12 at 03:03 PM

Seen: 325 times

Last Updated: Aug 07 '12 at 03:03 PM

Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved. If you have any queries, please contact the site administrators.
Ask SQL Server Central is a community service provided by Red Gate.