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