Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

isnull or case

Status
Not open for further replies.

sneki

Programmer
Nov 26, 2003
11
0
0
SI
SELECT ISNULL(value1, value2) as col,...
or
SELECT col = CASE WHEN value1 is null THEN value2 END, ...

What kind of statment is faster?
 
Neither. I shouldn't bother trying to optimize things at that level.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top