Skip to content

Latest commit

 

History

History
58 lines (45 loc) · 2.01 KB

srv-willconvert-extended-stored-procedure-api.md

File metadata and controls

58 lines (45 loc) · 2.01 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic helpviewer_keywords dev_langs apilocation apiname apitype
srv_willconvert (Extended Stored Procedure API)
Learn how srv_willconvert determines whether a specific data type conversion is available within the ODS Library.
VanMSFT
vanto
03/17/2017
sql
stored-procedures
reference
srv_willconvert
C++
opends60.dll
srv_willconvert
DLLExport

srv_willconvert (Extended Stored Procedure API)

[!INCLUDE SQL Server]

Important

[!INCLUDEssNoteDepFutureAvoid] Use CLR integration instead.

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

Syntax

  
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.

Remarks

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

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.

See Also

srv_convert (Extended Stored Procedure API)