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!

Stored Proc If Null Set to Zero 1

Status
Not open for further replies.

SeanB

Programmer
Jul 19, 2001
70
0
0
US
I have a proc that I have a sub query summing a column. How in the proc can I set the value to zero if it is Null.
 
ISNULL(field,0)

returns field if field is not null, returns 0 if field is null J. Jones
jjones@cybrtyme.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top