Spec-Zone .ru
спецификации, руководства, описания, API
Spec-Zone .ru
спецификации, руководства, описания, API
Библиотека разработчика Mac Разработчик
Поиск

 

Эта страница руководства для  версии 10.9 Mac OS X

Если Вы выполняете различную версию  Mac OS X, просматриваете документацию локально:

Читать страницы руководства

Страницы руководства предназначаются как справочник для людей, уже понимающих технологию.

  • Чтобы изучить, как руководство организовано или узнать о синтаксисе команды, прочитайте страницу руководства для страниц справочника (5).

  • Для получения дополнительной информации об этой технологии, ищите другую документацию в Библиотеке Разработчика Apple.

  • Для получения общей информации о записи сценариев оболочки, считайте Shell, Пишущий сценарий Учебника для начинающих.



DBIx::Class::Storage::DBI::ADO::Microsoft_SQLtServer(3)erl:Documentatione::DBI::ADO::Microsoft_SQL_Server(3)



NAME
       DBIx::Class::Storage::DBI::ADO::Microsoft_SQL_Server - Support for Microsoft SQL Server via DBD::ADO

SYNOPSIS
       This subclass supports MSSQL server connections via DBD::ADO.

DESCRIPTION
       The MSSQL specific functionality is provided by DBIx::Class::Storage::DBI::MSSQL.

EXAMPLE DSN
         dbi:ADO:provider=sqlncli10;server=EEEBOX\SQLEXPRESS

CAVEATS
   identities
       "_identity_method" is set to @@identity, as "SCOPE_IDENTITY()" doesn't work with DBD::ADO. See
       "IMPLEMENTATION NOTES" in DBIx::Class::Storage::DBI::MSSQL for caveats regarding this.

   truncation bug
       There is a bug with MSSQL ADO providers where data gets truncated based on the size of the bind sizes
       in the first prepare call:

       <https://rt.cpan.org/Ticket/Display.html?id=52048>

       The "ado_size" workaround is used (see "ADO Providers" in DBD::ADO) with the approximate maximum size
       of the data_type of the bound column, or 8000 (maximum VARCHAR size) if the data_type is not
       available.

       Please report problems with this driver and send patches.

   LongReadLen
       "LongReadLen" is set to "LongReadLen * 2 + 1" on connection as it is necessary for some LOB types. Be
       aware of this if you localize this value on the $dbh directly.

   binary data
       Due perhaps to the ado_size workaround we use, and/or other reasons, binary data such as "varbinary"
       column data comes back padded with trailing "NULL" chars.  The Cursor class for this driver
       (DBIx::Class::Storage::DBI::ADO::Microsoft_SQL_Server::Cursor) removes them, of course if your binary
       data is actually "NULL" padded that may be an issue to keep in mind when using this driver.

   uniqueidentifier columns
       uniqueidentifier columns come back from ADO wrapped in braces and must be submitted to the MSSQL ADO
       driver wrapped in braces. We take care of this transparently in this driver and the associated Cursor
       class (DBIx::Class::Storage::DBI::ADO::Microsoft_SQL_Server::Cursor) so that you don't have to use
       braces in most cases (except in literal SQL, in those cases you will have to add the braces
       yourself.)

   fractional seconds
       Fractional seconds with DBIx::Class::InflateColumn::DateTime are not currently supported, datetimes
       are truncated at the second.

AUTHOR
       See "AUTHOR" in DBIx::Class and "CONTRIBUTORS" in DBIx::Class.

LICENSE
       You may distribute this code under the same terms as Perl itself.



perl v5.16.2                                     2012-08-23Class::Storage::DBI::ADO::Microsoft_SQL_Server(3)

Сообщение о проблемах

Способ сообщить о проблеме с этой страницей руководства зависит от типа проблемы:

Ошибки содержания
Ошибки отчета в содержании этой документации со ссылками на отзыв ниже.
Отчеты об ошибках
Сообщите об ошибках в функциональности описанного инструмента или API через Генератор отчетов Ошибки.
Форматирование проблем
Отчет, форматирующий ошибки в интерактивной версии этих страниц со ссылками на отзыв ниже.