Which table holds the data type for model attributes in Repository schema
V
Vinoth KUMAR C
started a topic
over 1 year ago
Hi All,
We are trying to build a query to details on model entities and its Attribute label Name, Physical Column name, data type and etc., using MTA_ENTITY, MTA_ATTRIBUTE tables, but I couldn't find where the data type for the attributes is stored in repository schema. Could someone please point me to the correct table to get this details. Thanks.
Vinoth
Best Answer
A
Alexia SIMOND
said
over 1 year ago
Hello Vinoth,
Table columns are also stored in this MTA_FIELD table.
If you want to exclude collection and form fields, then you need to apply a filter on classname = 'TableColumn'.
Entity attributes info is present in mta_attribute table and form and collection attributes information is present in mta_field. You can try by joining both tables.
V
Vinoth KUMAR C
said
over 1 year ago
Hi Toshish,
Thanks for the response.
MTA_FIELD helps with attributes that are part of one of the collections present, but it may not have entries for all the attributes for the Entity that is not present in any of the collections. There are instances where an entity attribute not part of any of the collections.
Appreciate your help and time!
Vinoth
A
Alexia SIMOND
said
over 1 year ago
Answer
Hello Vinoth,
Table columns are also stored in this MTA_FIELD table.
If you want to exclude collection and form fields, then you need to apply a filter on classname = 'TableColumn'.
Vinoth KUMAR C
Hi All,
We are trying to build a query to details on model entities and its Attribute label Name, Physical Column name, data type and etc., using MTA_ENTITY, MTA_ATTRIBUTE tables, but I couldn't find where the data type for the attributes is stored in repository schema.
Could someone please point me to the correct table to get this details. Thanks.
Vinoth
Hello Vinoth,
Table columns are also stored in this MTA_FIELD table.
If you want to exclude collection and form fields, then you need to apply a filter on classname = 'TableColumn'.
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstToshish Chauhan
Hello Vinoth,
Entity attributes info is present in mta_attribute table and form and collection attributes information is present in mta_field. You can try by joining both tables.
Vinoth KUMAR C
Hi Toshish,
Thanks for the response.
MTA_FIELD helps with attributes that are part of one of the collections present, but it may not have entries for all the attributes for the Entity that is not present in any of the collections. There are instances where an entity attribute not part of any of the collections.
Appreciate your help and time!
Vinoth
Alexia SIMOND
Hello Vinoth,
Table columns are also stored in this MTA_FIELD table.
If you want to exclude collection and form fields, then you need to apply a filter on classname = 'TableColumn'.
-
Deployment History Date
-
Username in Tomcat Access Logs
-
Is It Possible to Perform Automatic Authentication with The User's Windows Account?
-
Where is the documentation for Version 5.2.5?
-
On Prem Semarchy Authentication using Azure AD?
-
Delete old models
-
Sync production model version with dev
-
Recreate a dev environment. Any side effect?
-
Indexes on xDM database tables
-
What logging technology is used in the Semarchy xDM platform?
See all 82 topics