I\'m running a really simple query, however for some of the results the value in one field is null. How can I set that value to \"a string\" if its value is null?
Someth
Check the COALESCE function
http://msdn.microsoft.com/en-us/library/ms190349.aspx
SELECT RegName,RegEmail,RegPhone,RegOrg,RegCountry,DateReg,COALESCE(Website, 'no website') AS WebSite FROM RegTakePart WHERE Reject IS NULL