Create Maxdomain :--------- insert into maxdomain ( domainid, description, domaintype, maxtype, length, scale, maxdomainid, internal, rowstamp) values ('APPSTATUS', 'App Status', 'SYNONYM', 'UPPER', 20, 0, maxdomainseq.nextval, 1, maxseq.nextval) ; Query for inserting values in domain insert into synonymdomain ( domainid, maxvalue, value, description, defaults, siteid, orgid, synonymdomainid, valueid, rowstamp) values ('APPSTATUS', 'WAPPR', 'WAPPR', 'Waiting on Approval', 1, null, null, synonymdomainseq.nextval, 'APPSTATUS|WAPPR', maxseq.nextval) ;