Domain Types in SQL



next up previous
Next: Null Values Up: Domain Constraints Previous: Domain Types

Domain Types in SQL

  1. SQL standard supports a restricted set of domain types:
  2. Some SQL implementations include date type. This allows operations on dates, e.g. .

  3. Comparisons between compatible domains are usually allowed. To compare an integer and a small integer, the small integer is cast as an integer. This is known as type coercion.



Page created and maintained by Osmar R. Zaï ane
Last Update: Mon Oct 16 17:01:17 PDT 1995