List out the data types available.



List out the data types available...

Answer / Chhaya Singh

DB2 supports a wide variety of data types, including character strings (CHAR, VARCHAR), numeric data (DECIMAL, NUMERIC), date and time data (DATE, TIME, TIMESTAMP), logical values (LOGICAL), binary data (RAW, BLOB), and user-defined data types (UDT).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More DB2 Interview Questions

What is the syntax required for the creation of a cursor?

1 Answers  


Hi i need to write a query on the following requirement. SELECT COMM_TEXT INTO :WS_MIKM_COMM_TEXT FROM MPIPROD.MIKMV01 WHERE ACCOUNT_NO = :WFD_ACCOUNT_NO AND (SUBSTR(COMM_TEXT,1,39) = :WS_COMMENT_TEXT AND SUBSTR(COMM_TEXT,47,14) = :WS_DENY_DESC) OR (SUBSTR(COMM_TEXT,1,39) = :WS_COMMENT_TEXT) The above query is to be modified. The requirement is if both the fields are equal then that has to be given priority. In the above query if it satisfies any one it comes out without checking if both being equal is possible.

1 Answers  


What keyword does an SQL SELECT statement use for a string search?

2 Answers  


What is DB2 (IBM Database 2)?

3 Answers  


What are the various data types available in db2?

1 Answers  


I need to view the number of tables existing under one particular Owner. Is it possible? If so, pl give the SQL query for this?

2 Answers  


What is collection in db2 bind?

1 Answers  


What does sqlcabc has?

1 Answers  


What is deadlock?

2 Answers  


What are the different types of base tables?

1 Answers  


What is an alias?

3 Answers  


How do you insert a record with a nullable column?

2 Answers  


Categories