If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > How to calculate the row size

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-25-10, 07:08
robert_tr robert_tr is offline
Registered User
 
Join Date: Sep 2010
Posts: 34
How to calculate the row size

Hi friends,

I have a question

I need add a column and alter the column type but I need get the projection of size.
Reply With Quote
  #2 (permalink)  
Old 09-29-10, 22:31
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
You can use avgcollen in syscat.columns to calculate the row size.
Reply With Quote
  #3 (permalink)  
Old 09-30-10, 18:18
hozkr hozoryo hozkr hozoryo is offline
Registered User
 
Join Date: Aug 2010
Posts: 43
Quote:
Originally Posted by db2girl View Post
You can use avgcollen in syscat.columns to calculate the row size.

Thank you very much.

thanks for sharing your knowledge
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On