Introduction to the Parametric_Qualitative Table
The parametric_qualitative table is designed to store qualitative parametric data within the Serial database. This table plays a crucial role in the system by capturing text-based measurements or observations associated with specific process entries and unique identifiers.Table Structure
The parametric_qualitative table is structured to efficiently store and relate qualitative data to other entities in the database. Here’s a detailed breakdown of its columns:| Column Name | Data Type | Constraints | Description |
|---|---|---|---|
| id | uuid | primary key | Unique identifier for each entry |
| company_id | uuid | not null, foreign key (companies) | Associated company ID |
| process_entry_id | uuid | not null, foreign key (process_entries) | Related process entry ID |
| unique_identifier_id | uuid | not null, foreign key (unique_identifiers) | Associated unique identifier ID |
| value | text | not null | The actual qualitative value stored |
| dataset_id | uuid | not null, foreign key (datasets) | ID of the dataset this entry belongs to |
| created_at | timestamp with time zone | not null, default now() | Timestamp of when the entry was created |
Usage and Functionality
The parametric_qualitative table is designed to be a flexible and integral part of the data collection system. Here are some key points about its usage:- Qualitative Data Storage: This table specifically handles text-based parametric data, allowing for the storage of descriptive or categorical information that can’t be represented numerically.
- Process and Identifier Association: Each entry in the table is linked to a specific process entry and unique identifier, allowing for precise tracking of qualitative data throughout the manufacturing or inspection process.
- Dataset Organization: The inclusion of a dataset_id allows for grouping related qualitative parameters, which can be useful for reporting and analysis purposes.
Notes
-
Insertion policies are in place to ensure that users can only add data for their associated company, as demonstrated by this SQL policy:
- This table works in conjunction with the parametric_quantitative table to provide a complete picture of parametric data in the system. While parametric_qualitative handles text-based data, parametric_quantitative would handle numerical measurements.

