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.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2003-03-13 : 07:46:32
|
| Michael writes "How can I have a select statement which will return the value in the column, unless the value is NULL, in which case I want the select statement to return a value of zero" |
|
|
samsekar
Constraint Violating Yak Guru
437 Posts |
Posted - 2003-03-13 : 07:54:29
|
| Use ISNULL.Select ISNULL(columnname,0) from tablenameSekar~~~~Success is not a destination that you ever reach. Success is the quality of your journey. |
 |
|
|
|
|
|