F
Fred Goldberg
Novice - So no flames please.
I have perl script that connects to our Win2000 Server which is running
MS SQL Server. My data base handle statement is:
my $dbh = DBI->connect('DBI:ODBCB_Name', 'DB_Login', 'DB_PWD') or
die "Couldn't connect to database: " . DBI->errstr;
The above works fine in the office from my networked PC. I would like to
be able to run this program from home via the Internet. I know my
server's IP address, user_login and user_password.
1) How can I modify my $dbh to accomodate this?
2) Do I need to configure "Data Sources (ODBC)" under my login on the
remote server so it points to "DB_Name"?
Thanks.
Fred
I have perl script that connects to our Win2000 Server which is running
MS SQL Server. My data base handle statement is:
my $dbh = DBI->connect('DBI:ODBCB_Name', 'DB_Login', 'DB_PWD') or
die "Couldn't connect to database: " . DBI->errstr;
The above works fine in the office from my networked PC. I would like to
be able to run this program from home via the Internet. I know my
server's IP address, user_login and user_password.
1) How can I modify my $dbh to accomodate this?
2) Do I need to configure "Data Sources (ODBC)" under my login on the
remote server so it points to "DB_Name"?
Thanks.
Fred