小编noo*_*che的帖子

如何使用python显示oracle中表的属性?

我将 Python 连接到 Oracle。

我正在尝试使用 python 显示表的属性,即我想显示表模式。我正在使用“描述”语句,但在执行时出现错误' Invalid SQL Statement'.

我做了以下事情:

queryString = 'Describe Customer'
onCursor.execute(queryString)
Run Code Online (Sandbox Code Playgroud)

“Customer”是表名

python sql oracle cx-oracle

1
推荐指数
1
解决办法
6051
查看次数

标签 统计

cx-oracle ×1

oracle ×1

python ×1

sql ×1