|
use MSSQL::DBlib; use MSSQL::Sqllib;
##################################################### # Set SQL module to login to SQL as NT user that is # # running this script # ##################################################### DBSETLSECURE();
$sqlserver="comsql";
################################################################################## # Login to comsql server ################################################################################## sql_init("$sqlserver","","","\[student records\]");
################################################################################## # Execute the SQL ################################################################################## @psoft_refs=sql(”select blah blah from blah blah”);
Array of hash references produced. jj From:
Erich Singer [mailto:[EMAIL PROTECTED]
Hello and Happy New Year
I am trying to connect to a remote intranet MS SQL Server database ( say myDatabase) that is part of an SQL Server Group (say myServerGroup) having an IP address (say 123.456.789.012) from my PC having another IP address (say 321.654.987.210)
Not sure how to write the connection string
Any ideas welcome (DBI or ODBC)
Thanks
Erich |
