admin管理员组

文章数量:1384402

Take the following code:

DECLARE @param1 NVARCHAR(4000);

SET @param1 = N'This is an _underline_ test';

EXEC sp_execute_external_script
    @language = N'dotnet',
    @script = N'<MarkdownHelper>.<MarkdownHelper>',
    @input_data_1 = N'SELECT Markdown',
    @param1 = @param1;

This is straight from the example from Microsoft:

I have already imported the library successfully. I get the error:

Msg 214, Level 16, State 175, Procedure sp_execute_external_script, Line 1 [Batch Start Line 0]
Procedure expects parameter '@params' of type 'ntext/nchar/nvarchar'

本文标签: