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 |
Which component is responsible for db2 startup and shutdown?
What is the physical storage length of the data types: date, time, timestamp in the db2 database?
What are the three lock types?
How to resolve -504 sql code in DB2?
how do you resolve -805?
How can you display the current date & current time ?
Mention the different locking levels that are available in db2.
Following a db2 update statement, what is the quickest way to compute the total number of updated rows?
How we create a tables in DB2 ?Previously client has using 7 letters for user id,now he wants to increase the letters from 7 to 12 for user id.How we can do it?
run jcl for cobol+db2 pgm?.. //jobcard //step001 exec pgm=ikjeft01 //systin dd * DSNSYSTEM(--------) RUN PROGRAM(MYPGMNAME) PLAN(-----), LIB(-------), PARMS(------) /* WHAT WILL U GIVE INSIDE THE BRACKETS... WHAT IS PLAN,PACKAGE,BIND?..PLAN N PACAKGES ARE GENERATED BY ?...
What's the Maximum Length of SQLCA and what's the content of SQLCABC?
What is a bind in db2?