I am storing logos in a varbinary(max) field. I'm looking for an SQL statement that says,
select logo where customerid=5
but if the logo for a particular customerid is NULL, then,
select logo where customerid=18
which is the default logo. I'd like to do this in a single query if possible. Can this be done? Thanks.