That sounds like a sticky requirement there. Maybe you could hack something together with fancy @INC hacking but it sounds like you are trying to make DBD::Sybase do something it really shouldn&#39;t be used for. Is there a FreeTDS module out there you can use for the MSSQL db rather than trying to have two different varieties sharing the same namespace?<br>
<br><div class="gmail_quote">On Fri, Feb 13, 2009 at 12:36 PM, Whitney Jackson <span dir="ltr">&lt;<a href="mailto:whjackson@gmail.com">whjackson@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
It turns out there are two ways (at least) to build DBD::Sybase:<br>
<br>
1) Against FreeTDS Libraries<br>
2) Against Sybase Open Client Libraries<br>
<br>
When you choose option 1 you can talk to MSSQL as well as Sybase.<br>
This works b/c both DBs use the TDS protocol.<br>
<br>
With option 2 you can only talk to Sybase DBs but you have the ability<br>
to use additional features like bulk writes not supported with<br>
FreeTDS.<br>
<br>
My problem is that I need the benefits of both. &nbsp;When I use DBI to<br>
connect to a Sybase DB I want the module built against the Sybase Open<br>
Client libraries. &nbsp;On the other hand, a DBI connect against a MSSQL DB<br>
should use the DBD::Sybase built against FreeTDS.<br>
<br>
Does anyone know a clean way to install DBD::Sybase twice and have the<br>
right one to load when I do a DBI connect?<br>
<br>
Whitney<br>
_______________________________________________<br>
WindyCity-pm mailing list<br>
<a href="mailto:WindyCity-pm@pm.org">WindyCity-pm@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/windycity-pm" target="_blank">http://mail.pm.org/mailman/listinfo/windycity-pm</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Jeremy Wall<br><a href="http://jeremy.marzhillstudios.com">http://jeremy.marzhillstudios.com</a><br><a href="mailto:Jeremy@marzhillstudios.com">Jeremy@marzhillstudios.com</a><br>