<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">package DBIx::Connector::Driver::MSSQL;

use strict;
use warnings;
use base 'DBIx::Connector::Driver';
our $VERSION = '0.53';

sub savepoint {
    my ($self, $dbh, $name) = @_;
    $dbh-&gt;do("SAVE TRANSACTION $name");
}

# MSSQL automatically releases a savepoint when you start another one with the
# same name.
sub release { 1 }

sub rollback_to {
    my ($self, $dbh, $name) = @_;
    $dbh-&gt;do("ROLLBACK TRANSACTION $name");
}

1;
__END__

=head1 Name

DBIx::Connector::Driver::MSSQL - Microsoft SQL Server-specific connection interface

=head1 Description

This subclass of L&lt;DBIx::Connector::Driver|DBIx::Connector::Driver&gt; provides
Microsoft SQL server-specific implementations of the following methods:

=over

=item C&lt;savepoint&gt;

=item C&lt;release&gt;

=item C&lt;rollback_to&gt;

=back

=head1 Authors

This module was written and is maintained by:

=over

=item David E. Wheeler &lt;david@kineticode.com&gt;

=back

It is based on code written by:

=over

=item Matt S. Trout &lt;mst@shadowcatsystems.co.uk&gt;

=item Peter Rabbitson &lt;rabbit+dbic@rabbit.us&gt;

=back

=head1 Copyright and License

Copyright (c) 2009-2010 David E. Wheeler. Some Rights Reserved.

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

=cut
</pre></body></html>