all groups > sql server programming > april 2004 >
You're in the

sql server programming

group:

Case


Re: Case Tenaya
4/7/2004 10:50:42 PM
sql server programming:
Frank,

case when campo1 is null or campo1 = 0 then 'teste' else 'teste1' end AS msg

Chief Tenaya


[quoted text, click to view]

Case Frank Dulk
4/7/2004 11:18:54 PM
I know how to use it marries in the query but that is not getting, if
somebody can me to help, I thank!!!

IIf(IsNull([campo1) Or campo1=0,'teste','teste1') AS msg

AddThis Social Bookmark Button