I'm a perl newbie so apologies if this is really simple. I have a perl script where I access a DSN. What I'd want to do is retrieve the Server Name and the default database where the ODBC DSN is pointing to? For example I have
my $sourcedb = new Win32::ODBC("DSN=$sourcedsn;")
Is there a way to get the server name and the default database that is stored in the $sourcedsn? Is there such a call?
my $sourcedb = new Win32::ODBC("DSN=$sourcedsn;")
Is there a way to get the server name and the default database that is stored in the $sourcedsn? Is there such a call?