Summary Table

Categories Total Count
PII 0
URL 0
DNS 0
EKL 0
IP 0
PORT 0
VsID 0
CF 0
AI 0
VPD 0
PL 0
Other 0

File Content

?CREATE TABLE zraw._ccrapac_trust
(
--source: A06, CDWWork, CCRA.pac_trust

--fields
[station__no] VARCHAR (30) NOT NULL,
[TRUST_RowId] BIGINT NULL,
[TRUST_Code] VARCHAR (8000) NULL,
[TRUST_Desc] VARCHAR (8000) NULL,
[TRUST_Address] VARCHAR (8000) NULL,
[TRUST_Zip_DR] BIGINT NULL,
[TRUST_City_DR] BIGINT NULL,
[TRUST_HCA_DR] BIGINT NULL,
[TRUST_Logo] VARCHAR (8000) NULL,
[TRUST_DateFrom] DATETIME2 (7) NULL,
[TRUST_DateTo] DATETIME2 (7) NULL,
[TRUST_Owner] VARCHAR (8000) NULL,
[TRUST_CodeTableTags] VARCHAR (8000) NULL,
[TRUST_CreatedDate] DATETIME2 (7) NULL,
[TRUST_CreatedTime] TIME (7) NULL,
[TRUST_CreatedUser_DR] BIGINT NULL,
[TRUST_UpdatedDate] DATETIME2 (7) NULL,
[TRUST_UpdatedTime] TIME (7) NULL,
[TRUST_UpdatedUser_DR] BIGINT NULL,
[thread__id] NUMERIC (18) NOT NULL,
--BatchLogID should always be the last of the authoritative source fields listed
--in the data gathered by extractors, it should be the first of the EPRS-specific fields
BatchLogID BIGINT,
--EPRS table specific: Any fields beyond this point are EPRS specific fields/FKs

--primary key

--unique key (if any)
)
ON StagingData
--when using clustered columnstore index, can't set data compression to PAGE
--WITH (DATA_COMPRESSION = PAGE) --if less than 10,000 rows, don't need compression

GO

--foreign keys

--indexes

--constraints

--Metadata descriptions for each field