CREATE DOMAIN ZIP AS
  VARCHAR(10) CHARACTER SET ASCII
  NOT NULL;
CREATE DOMAIN WEB_URL AS
  VARCHAR(100) CHARACTER SET ASCII
  NOT NULL;
CREATE DOMAIN MEASUREMENT AS
  DECIMAL(12, 4)
  NOT NULL;
CREATE DOMAIN MEMO AS
  VARCHAR(1000) CHARACTER SET ASCII
  NOT NULL
  COLLATE ASCII;
CREATE DOMAIN MYFLOAT AS
  NUMERIC(15, 13)
  NOT NULL;
CREATE DOMAIN MYNUMERIC AS
  DECIMAL(12, 2)
  NOT NULL;
CREATE DOMAIN "NAME" AS
  VARCHAR(50) CHARACTER SET ASCII
  NOT NULL;
CREATE DOMAIN PHONE AS
  VARCHAR(30) CHARACTER SET ASCII
  NOT NULL;
CREATE DOMAIN QUANTITY AS
  INTEGER
  NOT NULL;
CREATE DOMAIN ADDRESS AS
  VARCHAR(35) CHARACTER SET ASCII
  NOT NULL;
CREATE DOMAIN BLOB_TEXT AS
  BLOB SUB_TYPE 1 SEGMENT SIZE 2048 CHARACTER SET ASCII;
CREATE DOMAIN "BOOLEAN" AS
  CHAR(1) CHARACTER SET ASCII
  NOT NULL;
CREATE DOMAIN CITY AS
  VARCHAR(35) CHARACTER SET ASCII
  NOT NULL;
CREATE DOMAIN COUNTRY AS
  VARCHAR(50) CHARACTER SET ASCII
  NOT NULL;
CREATE DOMAIN CURRENCY AS
  DECIMAL(12, 2)
  NOT NULL;
CREATE DOMAIN EMAIL AS
  VARCHAR(100) CHARACTER SET ASCII
  NOT NULL;
CREATE DOMAIN KEY_FIELD AS
  INTEGER
  NOT NULL;
CREATE DOMAIN KEY_FIELD_ALLOW_NULL AS
  INTEGER;
CREATE DOMAIN LONGEST_DESCRIPTION AS
  VARCHAR(250) CHARACTER SET ASCII
  NOT NULL;
CREATE DOMAIN LONG_CODE AS
  VARCHAR(25) CHARACTER SET ASCII
  NOT NULL;
CREATE DOMAIN LONG_DESCRIPTION AS
  VARCHAR(100) CHARACTER SET ASCII
  NOT NULL;
CREATE DOMAIN LONG_NAME AS
  VARCHAR(100) CHARACTER SET ASCII
  NOT NULL;
CREATE DOMAIN STATE AS
  VARCHAR(2) CHARACTER SET ASCII
  NOT NULL;
CREATE DOMAIN SHORT_CODE AS
  VARCHAR(15) CHARACTER SET ASCII
  NOT NULL;
CREATE DOMAIN DESCRIPTION AS
  VARCHAR(50)
  NOT NULL;
