++ed by:
TSIBLEY PLU XIAODONG SZABGAB MARSENI

107 PAUSE users
105 non-PAUSE users.

Peter Rabbitson 🐟‍👂
and 201 contributors

NAME

DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server - Support for Microsoft SQL Server via DBD::Sybase

SYNOPSIS

This subclass supports MSSQL server connections via DBD::Sybase.

DESCRIPTION

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.

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 DBIx::Class::InflateColumn::DateTime

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

FURTHER QUESTIONS?

Check the list of additional DBIC resources.

COPYRIGHT AND LICENSE

This module is free software copyright by the DBIx::Class (DBIC) authors. You can redistribute it and/or modify it under the same terms as the DBIx::Class library.