DB2 2 - DB2 Datatype, QMF & SPUFI Introudction

As an application programmer we use TABLES, COLUMNS, ROWS & Indexes.
  1.  Table is a combination of Rows and columns
  2.  Columns are called as ATTRIBUTES. Rows are called as TUPLES.
  3.  Every Table is identified by unique table name, formed between 1-30 alphanumeric characters.
  4.  Every column is identified by unique column name, formed between 1-30 alphanumeric characters.
  5.  Every column should be created with data type length.
DB2  DATA TYPES
  1.  INTEGER
  2.  SMALL INTEGER
  3.  DECIMAL
  4.  CHAR
  5.  VARCHAR
  6.  DATE (YYYY-MM-DD)
  7.  TIME(HH:MM:SS)
  8.  TIMESTAMP(YYYY-MM-DD:HH:MM:SS:NNNNNN)
  9.  GRAPH
  10.  VARGRAPH

For more details click on below video.


Previous
Next Post »