CREATEFUNCTION MySqlFunction(@param1INT,@param2INT)RETURNSINTAS EXTERNAL NAME [YourDLLName].[YourNamespace].[MyCppFunction];--CREATEPROCEDURE[dbo].[YhdiHttp]@requestXml[NVARCHAR](MAX),@responseXml[NVARCHAR](MAX) OUTPUT
WITHEXECUTEAS CALLER
AS EXTERNAL NAME
[YourDLLName].[StoredProcedures].[YhdiHttp];
GO