General information
Forum:
Microsoft SQL Server
Title:
Computed Column Formula
Environment versions
SQL Server:
SQL Server 2000
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only