/ Published in: MySQL
the following code can be used to create a table with a dynamic name
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#Create the new table name #Prepare the create table statement # preparation is necessary for dynamic table name prepare create_table_stmt from @create_query; execute create_table_stmt ; DEALLOCATE PREPARE create_table_stmt;