I am trying to create a stored procedure in Mysql that will receive a value in Parameter/Variable as a table name, Stored procedure will create new table if not exists. Stored procedure is creating new table but not with table name that I am passing through Parameter/Variable.
My stored procedure:
My stored procedure
I want to create a new table with my custom name if the same name table not exists, but I am getting only one named table all time.