Reading out specific Data Model definition - second option
Reading out the Data Model definition can be used to verify what data models do exist and what items and levels are defined. This is most useful, when creating a new data model or wanting to modify an existing data model.
User can do this either by using applications such as:
- Microsoft SQL Server Management Studio
- MSSQL CLI
This can also be used for building custom solutions based on applications which allow for an ODBC connection such as:
- Excel
- C#
- .Net
- Python
Litmus does provide such as custom solution which can be downloaded from our Central Portal.
Execute Stored Procedure PROREC_ProRec_ReadConfiguration.
Data Models are a hierarchy used to organize and relate Production Record Event data according to ISA-88 rules.
Variable name | Datatype | Description | Example |
---|---|---|---|
@Node | VARCHAR(50) | The name of a root Node of a specific data model. Mandatory! Can not be NULL or Empty | DownTime |
To read out a specific data model definition, call the stored procedure PROREC_ProRec_ReadConfiguration using the T-SQL EXEC or EXECUTE keyword and provide the Input variables. Below is an example using T-SQL in SQL Server Management Studio:
The function returns a table as result.