Scenario: A developer needs to store images in a DB2 database. Which data type should they choose for the corresponding column?

  • BLOB
  • CHAR
  • DECIMAL
  • VARCHAR
BLOB (Binary Large Object) data type is suitable for storing images in a DB2 database. BLOB allows for the storage of large binary objects, such as images, audio, or video files. It preserves the binary format of the data without any character encoding, making it ideal for non-textual data like images. 
Add your answer
Loading...

Leave a comment

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