简体   繁体   English

使用JDBC驱动程序的Oracle SQL Developer中的DESCRIBE语句出现问题

[英]problems with DESCRIBE statement in oracle sql developer using JDBC driver

I just set up a teradata JDBC database through Oracle SQL Developer. 我只是通过Oracle SQL Developer建立了Teradata JDBC数据库。 I can't get the 'DESCRIBE' command to work, or the 'HELP TABLE' command (usually the case with teradata). 我无法使用“ DESCRIBE”命令或“ HELP TABLE”命令(通常是Teradata的情况)。

If I put in DESCRIBE tablename ; 如果我输入DESCRIBE tablename ; I get error: 我得到错误:

[Teradata Database] [TeraJDBC 14.10.00.26] [Error 3706] [SQLState 42000] Syntax error: expected something between the beginning of the request and the word 'DESCRIBE'. [Teradata数据库] [TeraJDBC 14.10.00.26] [错误3706] [SQLState 42000]语法错误:预期在请求的开始与单词'DESCRIBE'之间存在差异。

If I use HELP TABLE tablename ; 如果我使用HELP TABLE tablename ; it gives me a help menu internal to Oracle sql developer 它为我提供了Oracle sql开发人员内部的帮助菜单

Anyone else have this issue? 其他人有这个问题吗? or know any alternatives to the DESCRIBE command? 或知道DESCRIBE命令的任何替代方法?

Try this: 尝试这个:

SHOW TABLE $database.$table 显示表$ database。$ table

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM