sql_variant
allows to store values of different data types. The concept of sql_variant
is the same as that of the VBA datatype variant
. sql_variant_property
function can be used to query an sql_variant
value's base type and other properties.