Not logged in - Login


View History
R
e
q
u
e
s
t

a

d
e
m
o

CLR Reference: IP Addess Dynamic

{TOC}

"IP Addess Dynamic"

CLR function

SQLCLR:

SELECT [dbo].[IPDynamic] (<@ip, nvarchar(4000)>)

Expected input

data: Valid IPv4 or IPv6

Expected output

Common IP of the same format as input (nvarchar(MAX))

Error handling

Returns an empty string when passing empty or NULL value.

Example

SQLCLR:

SELECT [dbo].[IPDynamic] ('127.0.0.1')

Download a Trial