set default datatype to current db val