Syntactic Confectionery Delight | |
PerlMonks |
Unable to connect to MSSQL DB using DBD::Sybaseby msk_0984 (Friar) |
on Aug 14, 2009 at 13:46 UTC ( [id://788639]=perlquestion: print w/replies, xml ) | Need Help?? |
msk_0984 has asked for the wisdom of the Perl Monks concerning the following question:
Hi All, I need to develop an application which should connect to MSSQL Database and execute few queries and display them on the screen. Installed the following perl modules successfully on Linux server 1. DBI 1.54 2. DBD::Sybase 1.08 3. Free TDS 0.82 Also set the Sybase env variable and written a small script initially to test the connection using perl script. We are able to connect to the DB from the CLI with freetds using the below command
But unable to connect to the database through script. Below is a part of the script used to connect to the Database, please review the script and let me know if I am doing any thing incorrect.
Thanks In Advance Sushil Kumar
Back to
Seekers of Perl Wisdom
|
|