sample_char_rule_link
- Last UpdatedNov 20, 2024
- 1 minute read
The sample_char_rule_link table records rule violations by characteristic for an actual sample.
|
Field |
Datatype |
PK |
Nulls? |
Description |
|---|---|---|---|---|
|
sample_id |
int32 |
Y |
N |
Identify the sample |
|
char_id |
int32 |
Y |
N |
Identify the characteristic |
|
rule_id |
int32 |
Y |
N |
Identify the control rule violated |
|
chart_pos |
int32 |
N |
Y |
Specifies which position of the chart is violating the control rule: 1 = top chart 2 = bottom chart 3 = both |
|
last_edit_at |
tdatetime |
N |
N |
When this record was last changed |
|
row_id |
ID 1 |
N |
N |
Unique row identifier |
FK from sample_id, char_id to sample_char_link. (Cascade delete)
FK from rule_id to spc_rule. (Cascade delete)