How do I connect to SQL Server from PERL?

A. There is a choice :-

a. SybPerl (Note that SybPerl is designed for Sybase really so you may have the same compatibility problems as with CT-Lib).
b. A SQL Server port of the above.
c. ODBC using the ODBC extension
d. If the version of Perl has COM extensions then you can use ADO
e. Search for any other code available on the standard CPAN sites. (e.g. DBD::ODBC). For more info on DBI/DBD see

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.