DBIx::Class::Storage::DBI::IdentityInsert - Storage Component for Sybase ASE and MSSQL for Identity Inserts / Updates
This is a storage component for Sybase ASE (DBIx::Class::Storage::DBI::Sybase::ASE) and Microsoft SQL Server (DBIx::Class::Storage::DBI::MSSQL) to support identity inserts, that is inserts of explicit values into IDENTITY columns.
IDENTITY
This is done by wrapping INSERT operations in a pair of table identity toggles like:
INSERT
SET IDENTITY_INSERT $table ON $sql SET IDENTITY_INSERT $table OFF
See "AUTHOR" in DBIx::Class and "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.