14-Alexandrite
June 18, 2023
Solved
Query Thingworx entities directly from database
- June 18, 2023
- 2 replies
- 1826 views
Hi Community,
I am exploring my MS Sql database as persistence provider and was going through it's table structure. I need to perform simple query to fetch all entities with name as custom name mentioned while creating a thing in Thingworx Platform.
For example I created a thing with name as "MailRepository_Th" . How can I query this directly from database,
I am using following query which doesn't work an expects a column name only.
Query : "SELECT [entity_id],[name],[thingTemplate]
FROM [ThingworxHome].[dbo].[thing_model]
where name = "MailRepository_Th"
Kindly suggest.
Regards,
Sid

