max number of columns in a db2 table?
Answers were Sorted based on User's Feedback
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 |
Answer / purushothr
hey its 224 yaar.. max no of rows:127... dont confuse in
basic questions...
Is This Answer Correct ? | 3 Yes | 9 No |
What is database reorganization?
What is UNION,UNION ALL?
Give a brief description of db2 isolation levels?
What does DSNDB07 database do?
What is a DBRM, PLAN ?
wht are the restrictions for union ?
Is db2 a database?
How to get the ddl of a table in db2?
What is the syntax for FETCH in DB2 ?
What is the self-referencing constraint?
Q1. How will you use two different DB2 qualifiers in a single COBOL program? Suppose we have 2 tables EMP1 and EMP2 with same structure defined in two different DB2 qualifiers QUAL1.EMP1 and QUAL2.EMP2 now during first 15 days we want to use QUAL1.EMP1 and rest of the days QUAL2.EMP2 how will we do this. We can create a single program and a single load for this program.
Explain package in db2 and its advantages?