srv_willconvert (Extended Stored Procedure API)

ms164758.note(ru-ru,SQL.90).gifВажно!
В будущей версии Microsoft SQL Server эта возможность будет удалена. Не используйте ее при работе над новыми приложениями и как можно быстрее измените приложения, в которых она в настоящее время используется. Use CLR integration instead.

Determines whether a specific data type conversion is available within the ODS Library.

Синтаксис


BOOL srv_willconvert (
int
srctype
,
int
desttype 
);

Arguments

  • srctype
    Indicates the data type of the data to be converted. This parameter can be any of the Extended Stored Procedure API data types.
  • desttype
    Indicates the data type to which the source data is converted. This parameter can be any of the Extended Stored Procedure API data types.

Returns

TRUE if the data type conversion is supported; FALSE if the data type conversion is not supported.

Замечания

For a description of each data type, see Data Types (Extended Stored Procedure API).

ms164758.security(ru-ru,SQL.90).gifПримечание безопасности.
You should thoroughly review the source code of extended stored procedures, and you should test the compiled DLLs before you install them on a production server. For information about security review and testing, see this Microsoft Web site.

См. также

Справочник

srv_convert (Extended Stored Procedure API)

Справка и поддержка

Получение помощи по SQL Server 2005