Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Computed Column Formula
Message
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Computed Column Formula
Environment versions
SQL Server:
SQL Server 2000
Miscellaneous
Thread ID:
01186698
Message ID:
01186698
Views:
92
Hi All,

Can I use IF or CASE statement in a computed column formula?
If not can I create a User Defined Function and then use it in my column ?

Basically this is what I am trying to do in my D column:

If A = 1 Then B+C Else B End If

Thank you,
Daniel
Next
Reply
Map
View

Click here to load this message in the networking platform