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 |
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 ?
cursor with hold explain ?
Do we have any optinon to search part of integer in DB2 as we have for character Like,SUBSTR optins?
What is the difference between plan and package in db2?
What is copy pending and check pending in db2?
Can we insert update delete in view?
What do you do to keep the cursor from closing after a commit?
what is dynamic cursor?gives syntax for this?
SQLCODE = -199, ERROR: ILLEGAL USE OF KEYWORD CHAR, TOKEN KEY was expected
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?
How can we retrieve the total number of records in RPG & CLLE?
How do you simulate the EXPLAIN of an embedded SQL statement in SPUFI/QMF? Give an example with a host variable in WHERE clause)