Computed Column Specification
Hi,
I have been trying to update the computed column specification in a table I created using ASP.net. I am trying to do this where the tables are created in ASP.net.
I have been able to do simple calculations using multiplication, division, adding and subtracting.
Now I want a column to have a 1 in for certain values and a 0 in for others.
I thought I could put in an IF statement, but this does not work.
My question is, can I use an IF statement in this part of ASP.
If not, I will have to look into doing this another way.
Thanks for your help in advance.
Oli
|