I'm planning on doing a lot of INSERT DELAYED
into MyISAM
tables. But the tables might not exist yet. Let's say e.g. a new table will exist for each day.
So instead of detecting absence of table in my client and creating then retrying the insert, it seems like a good case for a stored procedure ("function").
Is this possible, and what would it look like? Are there any downsides to this approach?