sql loading mechanism -server side