Download training data from SQL Server