mysql> mysql> select myFunction('U'); +-----------------+ | myFunction('U') | +-----------------+ | Up to date | +-----------------+ 1 row in set (0.00 sec)
mysql> mysql> select myFunction('N'); +-----------------+ | myFunction('N') | +-----------------+ | New | +-----------------+ 1 row in set (0.00 sec)
mysql> mysql> mysql> drop function myFunction; Query OK, 0 rows affected (0.00 sec)
mysql> mysql>
Related Scripts with Example Source Code in same category :