add sql data from legacy db
add sql data from legacy db