NAME

DBIO::MSSQL::Storage::Sybase - Support for Microsoft SQL Server via DBD::Sybase

VERSION

version 0.900000

DESCRIPTION

Storage driver for Microsoft SQL Server accessed via DBD::Sybase (including FreeTDS-based connections). Inherits from both DBIO::Sybase::Storage and DBIO::MSSQL::Storage.

On connect, the driver checks whether your DBD::Sybase build supports placeholders. If not, the storage is reblessed to DBIO::MSSQL::Storage::Sybase::NoBindVars. FreeTDS versions above 0.82 have known statement-caching bugs; the driver detects these and disables statement caching automatically.

METHODS

connect_call_datetime_setup

Used as:

on_connect_call => 'datetime_setup'

In connect_info to set:

$dbh->syb_date_fmt('ISO_strict'); # output fmt: 2004-08-21T14:36:48.080Z

On connection for use with DBIO::InflateColumn::DateTime

This works for both DATETIME and SMALLDATETIME columns, although SMALLDATETIME columns only have minute precision.

SEE ALSO

AUTHOR

DBIO & DBIx::Class Authors

COPYRIGHT AND LICENSE

Copyright (C) 2026 DBIO Authors Portions Copyright (C) 2005-2025 DBIx::Class Authors Based on DBIx::Class, heavily modified.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.