Home > Common Problem > body text

How to view table structure in db2

藏色散人
Release: 2020-04-02 10:44:05
Original
19107 people have browsed it

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>
Copy after login

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!

Related labels:
db2
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template