Different Sybase DB servers with same dataserver name

foo bar <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
Hello,

the situation:
* two Sybase database servers (different hostnames/ips)
* databases are used by 3rd party software product
* my applications needs to access both databases but cannot beacuse both have the same dataserver


freetds.conf

[dbA]
        host = foo
        port = 43443
        tds version = 5.0

;[dbA]
;        host = bar
;        port = 43443
;        tds version = 5.0


I use Perl to build up connections and execute queries. I want to be able to connect to both databases at the same time.

How can I do this? 

Thanks in advance,
Martin


_________________________________________________________________
http://redirect.gimas.net/?n=M0903xSearchVideo
Videosuche - Ganz einfach mit der Live Search
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.