http://qs321.pair.com?node_id=614820


in reply to Using DBI::Sybase having problem with Date format

DBD::Sybase also supports the following:
$dbh->syb_date_fmt('MDY1_YYYY');
for this functionality. This works with the Sybase libraries, and I assume that this also works with FreeTDS.

Michael

Replies are listed 'Best First'.
Re^2: Using DBI::Sybase having problem with Date format
by derby (Abbot) on May 11, 2007 at 15:07 UTC

    mpeppler ... syb_date_fmt works great with the Sybase libs but for freetds, it appears to be a no-op (and that's the latest version of freetds, the version ubuntu packages does not even have that method).

    -derby
      Thanks for the update. I guess that this isn't one of the "important" functions that have priority to get implemented in FreeTDS...

      Michael

      Your right I could not get this to work. Your convert reply works a dream derby thanks again your a total star!