1 package DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server;
7 DBIx::Class::Storage::DBI::Sybase::Base
8 DBIx::Class::Storage::DBI::MSSQL
14 my $dbh = $self->_get_dbh;
16 if (not $self->placeholders_with_type_conversion_supported) {
18 'DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server::NoBindVars';
22 # LongReadLen doesn't work with MSSQL through DBD::Sybase, and the default is
23 # huge on some versions of SQL server and can cause memory problems, so we
25 my $text_size = eval { $self->_dbi_connect_info->[-1]->{LongReadLen} } ||
26 32768; # the DBD::Sybase default
28 $dbh->do("set textsize $text_size");
35 DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server - Support for Microsoft
36 SQL Server via DBD::Sybase
40 This subclass supports MSSQL server connections via L<DBD::Sybase>.
44 This driver tries to determine whether your version of L<DBD::Sybase> and
45 supporting libraries (usually FreeTDS) support using placeholders, if not the
46 storage will be reblessed to
47 L<DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server::NoBindVars>.
49 The MSSQL specific functionality is provided by
50 L<DBIx::Class::Storage::DBI::MSSQL>.
54 See L<DBIx::Class/CONTRIBUTORS>.
58 You may distribute this code under the same terms as Perl itself.