SQL script creates a storage procedure for putting query result into a csv file and running sh script for transfer file to another folder on a local server