Which data type is used to store whole numbers in DB2?
- DATE
- DECIMAL
- INTEGER
- VARCHAR
INTEGER data type in DB2 is used to store whole numbers without any fractional part. It is suitable for storing integers such as counts, quantities, or identifiers.
Loading...
Related Quiz
- Which SQL command is used to modify existing records in a table?
- Which encryption algorithm is commonly used to secure data in transit in DB2?
- How does DB2 handle invalid XML characters within tags?
- What is the difference between CHAR and VARCHAR data types in DB2?
- In DB2, can a user-defined function modify data in the database?