通过数据库链接描述?

问题描述:

我试图通过数据库链接执行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';