Scenario: A DBA is designing a table to store documents of variable lengths. What considerations should they keep in mind while selecting the data type?

  • CHAR
  • CLOB
  • DECIMAL
  • VARCHAR
CLOB (Character Large Object) data type should be considered for storing documents of variable lengths in a DB2 database. CLOB allows for the storage of large textual data, such as documents or XML files, with variable lengths. It's suitable for accommodating diverse document sizes efficiently. 
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *