Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / vat

'RECLENGTH' column of SYSIBM.SYSTABLES would have the
record/row length of the table.

It's format: 8 + n + l where
8 accounts for 6 header bytes and 2 ID map entry bytes
n = 0 if there is no edit proc otherwise 10
l = Sum of max. col lengths (Add 1 byte for Null indicator
for nullable columns, 2 bytes for Varchar columns, 4 bytes
for LOB column)

and, RECLENGTH is 0 for auxilary tables, views and aliases

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 dclgen (declaration generator)?

1117


Explain package in db2 and its advantages?

1272


How to find the number of rows in a db2 table?

1155


what is utility for parm lib

2419


How can you do the explain of a dynamic sql statement?

1110


What is bufferpool in db2?

1097


How do I change the column size in db2?

1207


How do you simulate the explain of an embedded sql statement in spufi/qmf?

1142


What is the difference between cursor and select statement?

1152


Explain packages.

1171


What is a storage group (stogroup)?

1286


What is package in cobol db2?

1163


Why cursor is used in db2?

1088


How do you concatenate the firstname and lastname from emp table to give a complete name?

1122


Mention the location where the output received from explain statement is stored.

1173