I am fairly new to Linux and MSSQL,
1. can we use shell script to connect to and access MSSQL databse.

2. If we can is it better to use shell script or is it better to use a programming language PERL/JAVA/PHP to do the same.

Any help is much appreciated