Skip to content

Commit 16acfe7

Browse files
authored
Updating the Regex sample to include the dll suffix (#44)
* regex * regex.dll
1 parent 956129f commit 16acfe7

File tree

1 file changed

+2
-2
lines changed
  • language-extensions/dotnet-core-CSharp/sample/regex

1 file changed

+2
-2
lines changed

language-extensions/dotnet-core-CSharp/sample/regex/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ To execute .NET C# code, the user SID [S-1-15-2-1](https://docs.microsoft.com/en
179179
Create an external library for the RegEx code.
180180
181181
```sql
182-
CREATE EXTERNAL LIBRARY regex
182+
CREATE EXTERNAL LIBRARY [regex.dll]
183183
FROM (CONTENT = N'<path>\RegexSample.dll')
184184
WITH (LANGUAGE = 'Dotnet');
185185
GO
@@ -201,7 +201,7 @@ set @regexExpr = N'[Cc]#'
201201

202202
EXEC sp_execute_external_script
203203
@language = N'Dotnet'
204-
, @script = N'regex;UserExecutor.CSharpRegexExecutor'
204+
, @script = N'regex.dll;UserExecutor.CSharpRegexExecutor'
205205
, @input_data_1 = N'SELECT * FROM testdata'
206206
, @params = N'@regexExpr varchar(200) OUTPUT, @rowsCount int OUTPUT'
207207
, @regexExpr = @regexExpr OUTPUT

0 commit comments

Comments
 (0)