Jump to content

Tell MySQL not to return NULL

Recommended Posts

Is there a way to tell MySQL to return no value whatsoever if a value in a column is NULL? When I do a select on a certain column it returns NULL for some rows and nothing for others. I'd rather have it be consistent.
Does MySQL have a COALESCE function? That's how you'd do it if it was MS SQL.
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...