Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Site Related Forums
 The Yak Corral
 Is not it interesting?

Author  Topic 

Stoad
Freaky Yak Linguist

1983 Posts

Posted - 2003-11-19 : 13:50:28
NULLIF returns the first expression if the two expressions are not equivalent. If the expressions are equivalent, NULLIF returns a null value of the type of the first expression.

SamC
White Water Yakist

3467 Posts

Posted - 2003-11-19 : 14:44:02
I don't mean to be smart here, but what's your point?

I'm guessing it's that NULL has no type?

Go to Top of Page

jsmith8858
Dr. Cross Join

7423 Posts

Posted - 2003-11-19 : 14:50:16
NULL is more of a "state" rather than a value. But I guess all data needs a datatype, even when its state is NULL.

- Jeff
Go to Top of Page

Stoad
Freaky Yak Linguist

1983 Posts

Posted - 2003-11-19 : 17:37:27
LOL.. You both are right in what I meant here!
Go to Top of Page
   

- Advertisement -