Skip to content

Instantly share code, notes, and snippets.

@pixe1f10w
Created October 10, 2012 07:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pixe1f10w/3863897 to your computer and use it in GitHub Desktop.
Save pixe1f10w/3863897 to your computer and use it in GitHub Desktop.
mysql eval
delimiter //
create procedure `eval`( in param text )
begin
set @sql = param;
prepare stmt from @sql;
execute stmt;
deallocate prepare stmt;
end //
delimiter ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment