Unix and SQL server

Hi All,

I am accessing Unix through putty (i.e. unix is installed on other server and i am accessing it remotely through putty). I am having SQL Server 2008 installed on my computer.

Now i want to access sql server via. unix.

Could some one please help me in this!!!

Thanks

This is not the answer you are expecting.

It requires finding an interface and then writing code to use that interface:

Connecting to MS SQL Server from Unix

You may be able to google for some existing code, but read the above so you know what to look for. The only free interface is for java using jdbc. See the link above.

FreeTDS

Download FreeTDS

Using tsql, bsqldb, freebcp

TDSVER=4.7 
tsql -H sqlserverIP -p 1433 -U username -P password

Sybase and SQL Server

1 Like