MySQL Forums
Forum List  »  Stored Procedures

Re: return empty string from function
Posted by: Emil Obermayr
Date: August 16, 2012 03:19PM

1) the function returns some text

2) a view uses the function as column `bla`

3) and a select uses this column for selection


When 3) does not use a selection (just get all the records) the empty strings look like they should. They have length=0 and just look like empty strings. But when there is a 'where bla=""' I get an empty result-set.

Options: ReplyQuote


Subject
Views
Written By
Posted
3323
August 16, 2012 10:41AM
Re: return empty string from function
1378
August 16, 2012 03:19PM
1120
September 06, 2012 06:39AM


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.