I have very simple question but i did\'t get any simple code to exit from SP using Mysql. Can anyone share with me how to do that?
CREATE PROCEDURE SP_Report
Why not this:
CREATE PROCEDURE SP_Reporting(IN tablename VARCHAR(20)) BEGIN IF tablename IS NOT NULL THEN #proceed the code END IF; # Do nothing otherwise END;