Hello:

I am new in this list and have just a little experience with Perl.

I want to connect to a remote SQL Server database and would like to
receive an example of how to do this.
I installed the iodbc (Drivers Manager) and then the DBD::ODBC, modules,
i had to download the .rpms from libodbc because the installation with
"perl -MCPAN -e shell" gave some errors, i have the perl v 5.8.0.

Now, i have the ODBC database driver, so i suppose that the installation
was successful, i see the database drivers with this script:

#!/usr/bin/perl
# dbdrivers.pl
use DBI;
@drivers = DBI->available_drivers(1);
foreach $text (@drivers) {
  print ("$text\n");
}

-- 

Walter M. Lamagna
Systems Analyst
http://www.walterlamagna.com.ar

Reply via email to