It would be great if we could use the rows from a database view as a domain, as an optional alternative to storing domain values in the GDB_ITEMS XML table.
For example, a SQL database view that gets the rows from this table, where WMS_DIVISION = ROADS. Use those rows as the domain values.
![Bud_0-1686241178030.png Bud_0-1686241178030.png](https://community.esri.com/t5/image/serverpage/image-id/72680iD854F77CFED68452/image-size/medium?v=v2&px=400)
select distinct
type as code,
wms_classification as description
from
atn_type_translation
where
wms_division = 'ROADS'
![Bud_1-1686241415831.png Bud_1-1686241415831.png](https://community.esri.com/t5/image/serverpage/image-id/72682i45B91DFA58C434B2/image-size/medium?v=v2&px=400)
Related: Use SDE table as Domain Table