I would appreciate some help in doing a query on a custom data fields.
I have my Driver entity with custom data as such I’ll skio the cut and paste and give a few fields
Custom data= Address, Email Address, Hourly Rate, Rate Per Delivery - as an example
So it would be something like
Select ??? from entities where EntityId =3 and Name = ‘Joe’;
Not looking for a tutorial just an example of how to query these custom data columns
Thank You in Advance
SELECT
[Id]
--,[EntityTypeId]
,[Name]
,[CustomData]
--,[Notes]
--,[AccountId]
--,[WarehouseId]
--,[LastUpdateTime]
--,[SearchString]
FROM [Entities]
WHERE [EntityTypeId] IN (SELECT [Id] FROM [EntityTypes] WHERE [Name] = 'Customers')
ORDER BY [Name]
You have a few options:
(V4 or V5) install a Stored Proc into your Database that facilitates reading JSON data