本文介绍了如何查看DB2表结构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何查看DB2数据库中的表结构

How to view the table structure in DB2 database

推荐答案

我从 sysibm中得到答案.syscolumns

Select distinct(name), ColType, Length from Sysibm.syscolumns where tbname = 'employee';

这篇关于如何查看DB2表结构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-23 08:51