Peter Rabbitson > DBIx-Class-0.082801 > DBIx::Class::Storage::DBI::IdentityInsert

Download:
DBIx-Class-0.082801.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  11
Open  18
Stalled  11
View/Report Bugs
Source  

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.

syntax highlighting: