phpMyAdmin 和显示创建表

发布于 2024-09-06 04:56:14 字数 179 浏览 3 评论 0原文

phpMyAdmin 中是否有一个表的 SHOW CREATE TABLE 快捷方式(即我可以单击一个按钮来获取完整查询,而不是截断的查询)?

另外,我可以在 phpMyAdmin 中同时查询多个 SHOW CREATE TABLE 吗?如果我将它们分开,则只会出现最后一个。

Is there a shortcut in phpMyAdmin to SHOW CREATE TABLE for a table (i.e. a button I can click to get the full query, not the truncated one)?

Also, can I query multiple SHOW CREATE TABLEs simultaneously in phpMyAdmin? If I separate them, only the last one appears.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

つ可否回来 2024-09-13 04:56:15

如果您尝试使用phpmyadmin内的SHOW CREATE TABLE查询导出表架构,并且得到一些截断的SQL,那么请按照以下步骤操作输出完整SQL 查询以复制表结构的步骤。

  • 在您收到的截断 SQL 的正上方有一个名为 +Options 的超链接,单击该链接将出现一些切换/选项。
  • 选择全文,在该开关的正下方有一个Go按钮,可能位于最右侧。
  • 您应该获得 SQL 的全文。

If you are trying to export the Table Schema Using the SHOW CREATE TABLE Query Inside phpmyadmin, and are getting some truncated SQL then please follow the following steps to output the complete SQL Query to replicate the table structure.

  • There is this Hyperlink named +Options right above the truncated SQL that you are getting, Clicking on which shall make make a few toggles/options appear.
  • There select Full Texts, And right below this toggle there is this Go button, maybe on the extreme right.
  • And You should get the Full Text of the SQL.
猫七 2024-09-13 04:56:15

点击数据库>选择您想要的表>选择选择:显示创建>完成

截图:

单击数据库

选择所需的表 > 选择选择:显示创建

< img src="https://i.sstatic.net/WYm5w.png" alt="完成">

Click the database > Select the tables you want > Choose With selected: Show create > done

Screenshots:

Click the database

Select the tables you want > Choose With selected: Show create

done

好久不见√ 2024-09-13 04:56:15

听起来您想要的是“导出”选项卡结果的全部/部分。

如果你告诉它以 sql 导出,它会为你提供表创建和填充代码(对于数据库中的所有表)

It sounds like what you want is all/part of the result of the 'export' tab.

If you tell it to export in sql, it gives you the table creation and popluation code (for all tables in the database)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文