add IsNull function for dateTimeVar
fix SetValue for zero pointers
use SQLT_INT