gpt4 book ai didi

database - PostgreSQL "DESCRIBE TABLE"

转载 作者:行者123 更新时间:2023-11-29 11:03:47 26 4
gpt4 key购买 nike

如何使用 psql 命令在 PostgreSQL 中执行与 Oracle 的 DESCRIBE TABLE 等效的操作?

最佳答案

试试这个(在 psql 命令行工具中):

\d+ tablename

参见 the manual了解更多信息。

关于database - PostgreSQL "DESCRIBE TABLE",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/109325/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com