select - Clear the result set in a MySQL procedure -
i want define mysql stored procedure, returns data in result set. sometimes, want return nothing (ie, 0 rows).
how can this? select; invalid, , select null; returns record null value. how select empty set?
this trick:
mysql> select null dual 1=0; empty set (0.00 sec)
Comments
Post a Comment