You didn't say if your client perl program
was going to be running on NT or UNIX.
If it is going to be running on NT, you should have
no problems, DBD::ODBC works just fine and
is as good performance-wise
because MS Sql is as-fast w/ ODBC as with any
other driver:
use DBI;
my $dbh = DBI->connect("dbi:ODBC:MQIS","USER","PASSWORD");
where MQIS is your ODBC DSN.
If your client is gonna run on UNIX (or any
OS for which MS does not provide client-side ODBC libraries)
you have 2 choices:
- DBD::Proxy - run a proxy DBD on an NT box and
have your perl programs use DBD::Proxy to connect to the
proxy.
- 3rd party ODBC driver - there are some 3rd party
ODBC drivers for MS Sql server (some commercial, some not)
that you could use. I've never used these (don't
even know where to get them), but I have heard that they
exist :)
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|