1DBIx::Class::Storage::DUBsDIeB:rI:xAC:Do:OnC:tl:raMisibscu:rt:oeSsdtoofPrtea_rgSleQ:LD:_oDScBeuIrm:ve:enArtD(aO3t:)i:oMnicrosoft_SQL_Server(3)
2
3
4

NAME

6       DBIx::Class::Storage::DBI::ADO::Microsoft_SQL_Server - Support for
7       Microsoft SQL Server via DBD::ADO
8

SYNOPSIS

10       This subclass supports MSSQL server connections via DBD::ADO.
11

DESCRIPTION

13       The MSSQL specific functionality is provided by
14       DBIx::Class::Storage::DBI::MSSQL.
15

EXAMPLE DSN

17         dbi:ADO:provider=sqlncli10;server=EEEBOX\SQLEXPRESS
18

CAVEATS

20   identities
21       "_identity_method" is set to @@identity, as "SCOPE_IDENTITY()" doesn't
22       work with DBD::ADO. See "IMPLEMENTATION NOTES" in
23       DBIx::Class::Storage::DBI::MSSQL for caveats regarding this.
24
25   truncation bug
26       There is a bug with MSSQL ADO providers where data gets truncated based
27       on the size of the bind sizes in the first prepare call:
28
29       <https://rt.cpan.org/Ticket/Display.html?id=52048>
30
31       The "ado_size" workaround is used (see "ADO providers" in DBD::ADO)
32       with the approximate maximum size of the data_type of the bound column,
33       or 8000 (maximum VARCHAR size) if the data_type is not available.
34
35       Please report problems with this driver and send patches.
36
37   LongReadLen
38       "LongReadLen" is set to "LongReadLen * 2 + 1" on connection as it is
39       necessary for some LOB types. Be aware of this if you localize this
40       value on the $dbh directly.
41
42   binary data
43       Due perhaps to the ado_size workaround we use, and/or other reasons,
44       binary data such as "varbinary" column data comes back padded with
45       trailing "NULL" chars.  The Cursor class for this driver
46       (DBIx::Class::Storage::DBI::ADO::Microsoft_SQL_Server::Cursor) removes
47       them, of course if your binary data is actually "NULL" padded that may
48       be an issue to keep in mind when using this driver.
49
50   uniqueidentifier columns
51       uniqueidentifier columns come back from ADO wrapped in braces and must
52       be submitted to the MSSQL ADO driver wrapped in braces. We take care of
53       this transparently in this driver and the associated Cursor class
54       (DBIx::Class::Storage::DBI::ADO::Microsoft_SQL_Server::Cursor) so that
55       you don't have to use braces in most cases (except in literal SQL, in
56       those cases you will have to add the braces yourself.)
57
58   fractional seconds
59       Fractional seconds with DBIx::Class::InflateColumn::DateTime are not
60       currently supported, datetimes are truncated at the second.
61

FURTHER QUESTIONS?

63       Check the list of additional DBIC resources.
64
66       This module is free software copyright by the DBIx::Class (DBIC)
67       authors. You can redistribute it and/or modify it under the same terms
68       as the DBIx::Class library.
69
70
71
72perl v5.32.0           DBIx::Class2:0:2S0t-o0r7a-g2e8::DBI::ADO::Microsoft_SQL_Server(3)
Impressum