Not logged in - Login


R
e
q
u
e
s
t

a

d
e
m
o
< back

CLR Reference: State Province Dynamic

{TOC}

"State Province Dynamic"

CLR function

<.CLRSQLCLR: function:

SELECT xxxxx(xxx,xxx,xxx)>[dbo].[SINDynamic] (<@sin, nvarchar(4000)>)

Expected input

<.expectedData: input:Valid dataSocial type,Insurance rule,Number sample>(can contain extra characters separators)

Expected output

<.expectedGeneric output:USA dataSIN type, rule, sample>(nvarchar(MAX))

Error handling

<.errorReturns handling>an empty string when passing empty or NULL value. Fails on invalid SIN format

Example

<.example>SQLCLR:

SELECT [dbo].[SINDynamic] ('123-456-789')

Download a Trial