Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Constraints to tables #60

Open
VT-AOE-DMAD-Drew-Bennett opened this issue Sep 13, 2022 · 0 comments
Open

Add Constraints to tables #60

VT-AOE-DMAD-Drew-Bennett opened this issue Sep 13, 2022 · 0 comments

Comments

@VT-AOE-DMAD-Drew-Bennett
Copy link

VT-AOE-DMAD-Drew-Bennett commented Sep 13, 2022

This is for capturing needs not currently supported by the CEDS model. Please do not send or share actual data as examples in this issue or in attachments.

Author(s)
Drew Bennett
Authoring Organization(s)
State of Vermont
Email Address
drew.bennett@vermont.gov
Use Case Title
Reduce duplication in CEDS by adding unique constraints

Use Case Overview
OrganizationPersonRole
ALTER TABLE CEDS.dbo.OrganizationPersonRole
ADD CONSTRAINT UN_OrganizationPersonRole_OrganizationId_PersonID_RoleID_EntryDate_ExitDate_DataCollectionID
UNIQUE(OrganizationId, PersonID, RoleID, EntryDate, ExitDate, DataCollectionID)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant