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

Popular posts from this blog

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -

python - Installing PyDev in eclipse is failed -