srv_willconvert (Extended Stored Procedure API)

 
System_CAPS_ICON_important.jpg Important


This feature will be removed in a future version of Microsoft SQL Server. Do not use this feature in new development work, and modify applications that currently use this feature as soon as possible. Use CLR integration instead.

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

  
BOOL srv_willconvert (  
int  
srctype  
,  
int  
desttype   
);  

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.

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).

System_CAPS_ICON_important.jpg Important


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)

Community Additions

ADD
Show: