In SQL 2005/8 I'm looking to convert a column in select query to a NOT NULL column.
coalease()
and isnull()
, although fine functions, is not what I'm looking for. I want the select to throw an error is any of the data is NULL.
Is this possible?
[Update] Clearly the best approach would be to modify the source table, unfortunatly in this case, it's not a (cost-effective) option.