Not logged in - Login


View History
R
e
q
u
e
s
t

a

d
e
m
o

CLR Reference: Zip Code Dynamic

{TOC}

"Zip Code Dynamic"

CLR function

SQLCLR:

SELECT [dbo].[ZipCodeDynamic] (<@ZipCode, nvarchar(4000)>)

Expected input

Data: Valid USA or Canadian Zip Code

Expected output

Generic USA or Canadian Zip Code (depends on input) (nvarchar(MAX))

Error handling

Returns an empty string when passing empty or NULL value. Fails on invalid zip code format

Example

SQLCLR:

SELECT [dbo].[ZipCodeDynamic] ('11302')

Download a Trial