共用方式為


srv_willconvert (Extended Stored Procedure API)

ms164758.note(zh-tw,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(zh-tw,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 協助