e
q
u
e
s
t
a
d
e
m
o < back
CLR Reference: IP Addess Dynamic
{TOC}
"IP Addess Dynamic"
CLR function
<.CLRSQLCLR: function:
SELECT xxxxx(xxx,xxx,xxx)>[dbo].[IPDynamic] (<@ip, nvarchar(4000)>)
Expected input
<.expecteddata: input:Valid dataIPv4 type,or rule, sample> IPv6
Expected output
<.expectedCommon output:IP dataof type,the rule,same sample>format as input (nvarchar(MAX))
Error handling
<.errorReturns handling>an empty string when passing empty or NULL value.
Example
<.example>SQLCLR:
SELECT [dbo].[IPDynamic] ('127.0.0.1')