Skip to content

Domain Types

  • char(n) - fixed-length string with n characters
  • varchar(n) - variable-length string with upto n characters
  • int - integer, the range is decided by the machine
  • smallint - similar to short
  • numeric(p,d) - a number with p digits, up to d of which can be to the right of the decimal point
  • float(n) - a floating point number with a precision of at least n digits