Read time-series data into an SQL DB