Which table holds the data type for model attributes in Repository schema
V
Vinoth KUMAR C
started a topic
almost 2 years 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
almost 2 years 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'.
-
Recreate a dev environment. Any side effect?
-
Can you help me configure my REST Client Response Output Value Selector?
-
Is Tomcat Manager Accessible Remotely
-
Cleaning mta_task_def
-
Drop tables within the datalocation schema
-
Which REST API that can be used for "Deploy Model Edition" ?
-
Session timeout settings
-
Audit logs in Semarchy
-
Automatic Deployment
-
Error while creating Model from API
See all 49 topics