Skip to content

dbo.ethFormSharingCode ​

Info Generated by scripts/Generate-DataDictionary.ps1 - do not edit by hand. Edit descriptions in schemas/tables/dbo.ethFormSharingCode.json and regenerate.

Columns ​

#ColumnTypeNullableFlagsDescription
1IDintnoidentitySurrogate primary key identifying this form sharing code.
2Codenvarchar(100)noThe shareable code/token issued to allow external access to a specific online form (e.g. via a shareable link).
3FormTypenvarchar(100)noIdentifies which type/template of form this sharing code grants access to.
4CreatedAtdatetimenoThe date and time this sharing code was created.
5ModifiedAtdatetimenoThe date and time this sharing code record was last modified.
6ExpiresAtdatetimenoThe date and time after which this sharing code is no longer valid for use.
7UsedAtdatetimeyesThe date and time this sharing code was consumed/used to submit a form, or null if not yet used.
8PrimeContactIDuniqueidentifieryesForeign key to the Prime Ecosystem contact this sharing code was issued for or associated with.
9PrimeJobIDuniqueidentifieryesForeign key to the Prime Ecosystem job this sharing code was issued for or associated with.
10CreatedBynvarchar(100)yesThe user or system identifier that created this sharing code.

Indexes ​

NameTypeUniquePKKey columnsIncludedFilter
PK_ethFormSharingCodeCLUSTEREDyesyesID
IX_ethFormSharingCode_CodeNONCLUSTEREDyesCode

Relationships (inferred) ​

FromToConfidence
dbo.ethFormSharingCode.PrimeContactIDdbo.primeContacts.idlow
dbo.ethFormSharingCode.PrimeJobIDdbo.primeJobs.Idlow

Referenced by ​

Procedures: dbo.spEthFormGetSharingCode, dbo.spEthFormSharingCodeInsert, dbo.spEthFormSharingCodeMarkUsed