Bash Script To Pull DB Records & Build Files

Job ID: 30783926

Budget: $30 – $250 USD

I need a bash script that can do a query to a given MSSQL table on a server, Say server 10.0.0.1, I want it to pull records from a table column, and populate it into a file locally i.e. /etc/localcopy.txt

It only has to do 1 column, so pretty basic.
Unfortunately an SLA means that I can't expose the server. But since it's such a simple script you can use placeholders for $ip, $database, $port, $table etc... and we'll substitute it in.

Would love to get this done within the next day.
Related categories: Linux Microsoft SQL Server Bash Scripting CentOs