DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server - Support for Microsoft SQL Server via DBD::Sybase
This subclass supports MSSQL server connections via DBD::Sybase.
This driver tries to determine whether your version of DBD::Sybase and supporting libraries (usually FreeTDS) support using placeholders, if not the storage will be reblessed to DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server::NoBindVars.
The MSSQL specific functionality is provided by DBIx::Class::Storage::DBI::MSSQL.
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 DBIx::Class::InflateColumn::DateTime
This works for both DATETIME and SMALLDATETIME columns, although SMALLDATETIME columns only have minute precision.
DATETIME
SMALLDATETIME
See "CONTRIBUTORS" in DBIx::Class.
You may distribute this code under the same terms as Perl itself.
To install DBIx::Class, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::Class
CPAN shell
perl -MCPAN -e shell install DBIx::Class
For more information on module installation, please visit the detailed CPAN module installation guide.