I want to implement the following (oracle plsql code) in a mysql stored procedure.
begin
select id into v_tablenumber from qtable where tablename = upper(p_tablename);
exception when no_data_found then
null;
end;
Could someone help me on this please?