max number of columns in a db2 table?

Answers were Sorted based on User's Feedback



max number of columns in a db2 table?..

Answer / saikat

It is 256

Is This Answer Correct ?    17 Yes 9 No

max number of columns in a db2 table?..

Answer / s

750

Is This Answer Correct ?    19 Yes 14 No

max number of columns in a db2 table?..

Answer / suresh pabothu

Maximum table size (on a 32 bit system) 2 Gigabytes
Maximum number of tables in a data store 65535
Maximum number of indices on a table 15
Maximum length of a row in a table 64 kilobytes
Maximum number of columns in a foreign key 8
Maximum number of columns in an index 8
Maximum number of columns in a primary key 8
Maximum length of SQL statement 64 kilobytes
Maximum number of rows in a table Limited by table size
Maximum number of columns in a table 256
Maximum length for a CHAR column 32767 bytes
Maximum length for VARCHAR column 32767 bytes
Maximum length for BLOB column 2 Gigabytes -1
Maximum combined length for INT, SMALLINT, CHAR, DECIMAL,
DATE, TIME, and TIMESTAMP columns in a single record 32767
bytes
Maximum number of statement handles per connection 20
Maximum number of LOB locators 256
Maximum length of check constraints 32767 bytes

Maximum length of default value 32767 bytes

Maximum size of decimals 31 digits
Maximum length of each column in a single index 1024 bytes
Minimum year for a date value 0001
Maximum year for a date value 9999

Is This Answer Correct ?    5 Yes 3 No

max number of columns in a db2 table?..

Answer / smit

its 224.. not 750

Is This Answer Correct ?    7 Yes 13 No

max number of columns in a db2 table?..

Answer / purushothr

hey its 224 yaar.. max no of rows:127... dont confuse in
basic questions...

Is This Answer Correct ?    3 Yes 9 No

max number of columns in a db2 table?..

Answer / reji

999.99

Is This Answer Correct ?    1 Yes 13 No

Post New Answer

More DB2 Interview Questions

suppose in my table 10 rows are there , i want to update odd rows salary as 90000 ? how u do it ? any one help me ? what do we use here cursor-fetch or normal sql ?

5 Answers   IBM,


cursor with hold explain ?

1 Answers   Verizon,


Do we have any optinon to search part of integer in DB2 as we have for character Like,SUBSTR optins?

1 Answers  


What is the difference between plan and package in db2?

0 Answers  


What is copy pending and check pending in db2?

0 Answers  






Can we insert update delete in view?

0 Answers  


What do you do to keep the cursor from closing after a commit?

1 Answers  


what is dynamic cursor?gives syntax for this?

1 Answers   TCS,


SQLCODE = -199, ERROR: ILLEGAL USE OF KEYWORD CHAR, TOKEN KEY was expected

0 Answers  


i want to know how the commit option works,how it save the changes? it will update the database or what ? where we can see these saved changes?

4 Answers  


How can we retrieve the total number of records in RPG & CLLE?

0 Answers  


How do you simulate the EXPLAIN of an embedded SQL statement in SPUFI/QMF? Give an example with a host variable in WHERE clause)

2 Answers  


Categories