通过数据库链接描述? [英] DESCRIBE via database link?

查看:80
本文介绍了通过数据库链接描述?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图通过数据库链接执行DESCRIBE命令,但这是返回消息:

I tried to execute the DESCRIBE command via a database link, but this was the return message:

DESCRIBE <table>@<database>;
ERROR:                               
------------------------------------ 
ERROR: object <table> does not exist 

1 rows selected

此表上的SELECT效果很好.

Oracle是否通过数据库链接允许DESCRIBE?

Does Oracle permitts DESCRIBE via a database link?

我正在使用Oracle SQL Developer 1.5.1.

I'm using the Oracle SQL Developer 1.5.1.

还有另一个描述表格的选项吗?

Is there another option to describe a table?

提前谢谢!

推荐答案

您可以使用

You could do something with the all_tab_columns table to get some table information.

select column_name, data_type from all_tab_columns where table_name = 'TABLE_NAME';

这篇关于通过数据库链接描述?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆