max number of columns in a db2 table?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is catalog database in db2?

856


What is precompiler in db2?

765


What is runstats utility in db2?

757


How does cobol compile db2 program?

804


What are types of indexes?

765


What is the purpose of using commit?

818


How do I import data from excel to db2?

814


What is the maximum length of sqlca?

1107


What is plan in cobol db2?

789


What is null in db2?

751


What are the contents of a dclmgen?

827


Explain about open switch business continuity software?

817


What is role in db2?

780


Give the name of some fields form sqlca.

812


What is node in db2?

809