From:                   learn perl <[EMAIL PROTECTED]>
> Thanks, that's what I thought of doing.  But is there a way to connect
> to the remote database (MS SQL server) w/o going thru DSN?

$db = DBI->connect( 'DBI:ODBC:Driver=SQL Server;
        Server=The_name_or_IP_of_Server;
        Database=DatabaseName');

You can add some other options. I do not know the list, but if you 
find the option in the DSN manager and set it for a DSN you can look 
up the name in registry under HKLM\SOFTWARE\ODBC\ODBC.INI\<DNSname>

HTH, Jenda
=========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==========
There is a reason for living. There must be. I've seen it somewhere.
It's just that in the mess on my table ... and in my brain
I can't find it.
                                        --- me


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to