user-defined-fields

How to design a database for User Defined Fields?

社会主义新天地 提交于 2019-11-26 06:50:42
问题 My requirements are: Need to be able to dynamically add User-Defined fields of any data type Need to be able to query UDFs quickly Need to be able to do calculations on UDFs based on datatype Need to be able to sort UDFs based on datatype Other Information: I\'m looking for performance primarily There are a few million Master records which can have UDF data attached When I last checked, there were over 50mil UDF records in our current database Most of the time, a UDF is only attached to a few