I want to copy table contained from one database and insert onto another database table

前端 未结 7 1833
你的背包
你的背包 2020-12-07 08:38

I want to copy a table\'s schema as well as the data within that table to another database table in another database on a live server. How could I do this?

相关标签:
7条回答
  • 2020-12-07 09:07

    If you just want Structure to be copied simply use

    CREATE TABLE Db_Name.table1 LIKE DbName.table2;

    Ps > that will not copy schema and data

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