MySQL Forums
Forum List  »  Stored Procedures

Re: MySQL: Stored function not accepting null from view field
Posted by: Peter Brawley
Date: December 12, 2013 05:58PM

> if (not valor is null)

Try this in the mysql client:

set @v=null;
select not @v is null;

Can you see why it returns 0?

You need:

if valor is not null ...

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: MySQL: Stored function not accepting null from view field
886
December 12, 2013 05:58PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.