In which column of which DB2 catalog would you find the
length of the rows for all tables?

Answer Posted / daphne

I assume that you mean "Column length" (Field length) for
all the fields of all the tables.

This can be found in SYSIBM.SYSCOLUMNS. The column name is
LENGTH.

If you want to find the column lengths of a particular
table then the query would be

Select NAME, LENGHT from SYSIBM.SYSCOLUMS where TBNAME =
<tablename>

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is bind plan?

800


What is the use of value function?

842


How can the duplicate values be eliminated from db2 select?

863


Comment whether the cursor is closed during commit or not.

863


Can we update view in db2?

769


How connect db2 database to datastage?

978


What is coalesce in db2?

871


What is copy pending and check pending in db2?

753


Explain in detail about buffer manager and its functionalities?

782


What is the maximum size of varchar data type in db2?

853


What is multi row fetch in db2?

776


If anyone has IBM Certification Dumps pls forward to me & also let me know what are the Certification Codes that are available in DB2

1796


Why do we use cursor?

801


What is an instance database?

812


List down the types of triggers in the db2 database?

779