describe select * from..."."/> describe select * from...".">

Home  >  Article  >  How to view table structure in db2

How to view table structure in db2

藏色散人
藏色散人Original
2020-04-02 10:44:0519118browse

How to view table structure in db2

db2How to view the table structure?

DB2 is a series of relational database management systems produced by IBM, which serve on different operating system platforms.

Although DB2 products are based on UNIX systems and personal computer operating systems, DB2 pursues ORACLE database products based on UNIX systems and Microsoft's Access under windows systems.

Query means to search, search means to find what you want in one or several places;

DB2 queries the table structure definition like Oracle's desc

select * from sysibm.syscolumns where tbname = < table name>
describe select * from <table name>
或者 describe table <table name>

The above is the detailed content of How to view table structure in db2. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn