IT分销/经销数据库

如何看一个表的字段

db2 => describe syscat.indexesSQL0104N  An unexpected token "syscat.indexes" was foundfollowing "DESCRIBE". Expected tokens may include:  "OUTPUT".  SQLSTATE=42601db2 => desc syscat.indexesDB21034E  The command...显示全部

db2 => describe syscat.indexes
SQL0104N  An unexpected token "syscat.indexes" was foundfollowing "DESCRIBE".
Expected tokens may include:  "OUTPUT".  SQLSTATE=42601
db2 => desc syscat.indexes
DB21034E  The command was processed as an SQL statement because it was nota
valid Command Line Processor command.  During SQL processing it returned:
SQL0104N  An unexpected token "desc" was found following"BEGIN-OF-STATEMENT".
Expected tokens may include:  "". SQLSTATE=42601

收起
参与7

查看其它 2 个回答dblion的回答

dbliondblion数据库开发工程师天阳

db2 => describe table syscat.indexes

银行 · 2016-08-03
浏览1459

回答者

dblion
数据库开发工程师天阳

dblion 最近回答过的问题

回答状态

  • 发布时间:2016-08-03
  • 关注会员:3 人
  • 回答浏览:1459
  • X社区推广