Scroll to navigation

DBIx::Class::Storage::DBI::IdentityInsert(3pm) User Contributed Perl Documentation DBIx::Class::Storage::DBI::IdentityInsert(3pm)

NAME

DBIx::Class::Storage::DBI::IdentityInsert - Storage Component for Sybase ASE and MSSQL for Identity Inserts / Updates

DESCRIPTION

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.

This is done by wrapping "INSERT" operations in a pair of table identity toggles like:

  SET IDENTITY_INSERT $table ON
  $sql
  SET IDENTITY_INSERT $table OFF

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.

2018-04-19 perl v5.26.2