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 TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Convert Zero Value to Null?

Status
Not open for further replies.

tombi5150

Computer
Joined
Mar 31, 2005
Messages
1
Location
US
Anyone know of an SQL function which converts a Zero value to a null?

Thanks
 
update <table name> set <field>=null where <field>=0
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top