<div>Jay,</div>
<div>&nbsp;</div>
<div>I am trying to do something very similar.&nbsp; Would you be interesdted in helping me.&nbsp; I could possibly pay you for your time (i.e beer, gift cert. donation to fav charity, cash).&nbsp; I have a sql2000 database I would like to access via perl DBD::ODBC (or DBD::Sybase&nbsp;I suppose).&nbsp; I installed Freetds and am able to access the database with the tsql command line client&nbsp; But I am having trouble with my perl app accessing it.&nbsp; I am sure it is all the wierd freetds.conf, odbc.ini stuff.&nbsp; Let me know if you can help.&nbsp; I could provide you with ssh/vnc access to my box.</div>

<div>&nbsp;</div>
<div>Todd 660-2787<br><br></div>
<div class="gmail_quote">On Thu, Mar 6, 2008 at 4:16 PM, Jay Hannah &lt;<a href="mailto:jay@jays.net">jay@jays.net</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">It&#39;s nice to know that with enough retries and error handling, you can,<br>eventually pull data from a bad server over a terrible network<br>
connection... &nbsp;:)<br><br>Perl in Omaha &lt;-&gt; DBI &lt;-&gt; DBD::Sybase &lt;-&gt; freetds &lt;-&gt; MS-SQL in Mexico<br><br>:)<br><br>j<br><br><br><br>&nbsp; my $sth = $dbh_pms-&gt;prepare($strsql);<br>&nbsp; for (1..50) {<br>&nbsp; &nbsp; &nbsp;if ($sth-&gt;execute) {<br>
&nbsp; &nbsp; &nbsp; &nbsp; last;<br>&nbsp; &nbsp; &nbsp;} else {<br>&nbsp; &nbsp; &nbsp; &nbsp; $logger-&gt;warn(&quot;Database error detected (attempt # $_). Waiting<br>3 seconds, then retrying: $DBI::errstr&quot;);<br>&nbsp; &nbsp; &nbsp; &nbsp; $sth-&gt;finish;<br>&nbsp; &nbsp; &nbsp; &nbsp; $sth = $dbh_pms-&gt;prepare($strsql);<br>
&nbsp; &nbsp; &nbsp; &nbsp; sleep 3;<br>&nbsp; &nbsp; &nbsp;}<br>&nbsp; }<br><br><br><br>_______________________________________________<br>Omaha-pm mailing list<br><a href="mailto:Omaha-pm@pm.org">Omaha-pm@pm.org</a><br><a href="http://mail.pm.org/mailman/listinfo/omaha-pm" target="_blank">http://mail.pm.org/mailman/listinfo/omaha-pm</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Todd Christopher Hamilton<br>(402) 660-2787