Mysql Create Table with dynamic database name

后端 未结 1 705
谎友^
谎友^ 2021-01-27 11:53

I am creating database at runtime and I want to create the tables in that database at the same time. Can anyone give me any thought on how to do that? For Example -

I h

相关标签:
1条回答
  • 2021-01-27 12:29

    You can use the PREPARE feature to execute dynamic SQL.

    0 讨论(0)
提交回复
热议问题