IT分销/经销数据库

如何看一个表的字段

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

3同行回答

pingssgpingssg网站前端工程师ADFAFASDFA
语法错了,已经可以了显示全部

语法错了,已经可以了

收起
IT分销/经销 · 2016-08-02
浏览1588
dbliondblion数据库开发工程师天阳
db2 => describe table syscat.indexes显示全部

db2 => describe table syscat.indexes

收起
银行 · 2016-08-03
浏览1453
喂小饱me9喂小饱me9数据库运维工程师chinapay
describe table 显示全部

describe table <tabname>

收起
IT其它 · 2016-08-02
浏览1448

提问者

pingssg
网站前端工程师ADFAFASDFA
擅长领域: 备份

相关问题

相关资料

相关文章

问题状态

  • 发布时间:2016-08-02
  • 关注会员:3 人
  • 问题浏览:2898
  • 最近回答:2016-08-03
  • X社区推广