|
View previous topic :: View next topic
|
| Author |
Message |
rajandhla
Active User
.jpg)
Joined: 18 Oct 2005 Posts: 182 Location: Luton UK
|
|
|
|
Hi,
I have a table with 221 columns.
I would like to know how to find the row length of a table from catlog tables. i.e sysibm. <>
Can any one tell me in which catlog table i can find this information.
Thanks In Advance
Regards,
Jai |
|
| Back to top |
|
 |
rajandhla
Active User
.jpg)
Joined: 18 Oct 2005 Posts: 182 Location: Luton UK
|
|
|
|
Hi,
I have worked out myself
Please find the query
select max( reclength)
from sysibm. systables
where dbname= '?????'
and tsname= '???????'
and creator = '???'
Regards,
jai |
|
| Back to top |
|
 |
Karthik Chandrasekaran
New User
Joined: 21 Aug 2006 Posts: 8
|
|
|
|
query 1: select sum(length) from sysibm.syscolumns where tbname=x and tbcreator = y
query 2: select max(reclength) from sysibm.systables where name=x and creator=y |
|
| Back to top |
|
 |
|
|