I am trying to generate a lookup table in a SQL Server
database from an enum in an OOM. By default PD generates a
domain with a rule from an enum, like

create rule R_accessClass as
@column in

what I wouls like is for it to create a table and populate
it with the enum values, like

create table Access_Class (
AccessClass varchar(64) not null,
constraint PK_ACCESS_CLASS primary key (AccessClass)

INSERT AccessClass( AccessClass )
Values ('Telephone')
, ('Application')
, ('Mail')
, ('Physical')
, ('Information')
, ('Device')

Any ideas on how to do this? TIA