feat: mpe_validations table and a note about the pgmloc var in hook scripts
All checks were successful
Publish to docs.datacontroller.io / Deploy docs (push) Successful in 1m0s

This commit is contained in:
zver
2026-02-08 00:22:29 +00:00
parent 45a46d6a0a
commit 81ec07117d
3 changed files with 27 additions and 1 deletions

View File

@@ -0,0 +1,25 @@
---
layout: article
title: MPE_VALIDATIONS
description: The `MPE_VALIDATIONS` table enables a number of validations to be applied to the data at the point of entry - such as casing, min/max values, nullability, and the ability to generate dropdown values directly from source tables or dynamically from SAS programs.
og_image: /img/mpe_validations.png
---
# MPE_VALIDATIONS
The `MPE_VALIDATIONS` table enables a number of validations to be applied to the data at the point of entry - such as casing, min/max values, nullability, and the ability to generate dropdown values directly from source tables or dynamically from SAS programs.
A detailed breakdown is available in the [validations](/dc-validations/) section.
![validations](/img/mpe_validations.png)
## Columns
- 🔑`TX_FROM num`: SCD2 open datetime
- `TX_TO num`: SCD2 close datetime
- 🔑 `BASE_LIB char(8)`: SAS Libref (8 chars)
- 🔑 `BASE_DS char(32)`: The library member name
- 🔑 `BASE_COL char(32)`: The column name
- 🔑 `RULE_TYPE char(32)`: The name of the rule to apply.
- `RULE_VALUE char(128)`: The value of the rule
- `RULE_ACTIVE num`: Set to 1 for an active rule. Set to 0 to disable the rule.