The following query will select cellphone column from the table and return blank strings if it contains NULL value.
SELECT ISNULL(cellphone,'') FROM Customers
Using this code technique will eliminate extra coding and you are sure that your query wont return any null values.
For more SQL coding tips, subscribe now.
0 comments:
Post a Comment