請協助翻譯msql procedure to mysql procedure

真的有點難

create procedure proc_tb
(@tb varchar(50)='adpa_z404_010409_01')
as
declare @sql varcahr(100)
set @sql='select * from '+ @sql;
execute(@sql)


回到頂部