Mysql Create Function Select Into Variable Oracle