D
D
Dmitry Krapivin2018-08-16 14:38:59
Database design
Dmitry Krapivin, 2018-08-16 14:38:59

Is there a field that is universal for all databases, the type of which changes depending on the type of value?

I am designing a data model.
Is there a field that is universal for all databases, the type of which changes depending on the type of value?
Example:
Fields:
Name: Pressure
Value: 100 //int
or
Name: Intensity character
Value: Strong //string, enumeration value
or
Name: Intensity
Value: 0.58

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question