Fixed SQL-script and data types of measurement values
test