IsUrlValid
Checks the validity of a URL string
- Free Function
- SQL Server Compatibility: 2008, 2012, 2014, 2016, 2017
SELECT SQLHTTP.net.IsUrlValid( @Url )
Name | Type | Description |
---|---|---|
@Url | nvarchar(4000) | Web address |
bit
0 = Url is NOT Valid
1 = Url IS Valid
This function only validates the structure of the URL but does not validate the existence of the web address
1 2 3 4 5 6 7 |
DECLARE @Url varchar(MAX) SET @Url = 'https://www.google.com' SELECT SQLHTTP.net.IsUrlValid(@Url) |
1 2 3 4 5 |
----- 1 |
- AuthListener
- AuthParam
- AuthParamRemove
- AuthParamsClear
- AuthParamSet
- BasicAuthHeader
- FormDataBuilder
- HttpQueueActivity
- HttpRequest
- HttpSession
- IsUrlValid
- OAuthHeader
- QueryStringBuilder
- RaiseHttpError
- RequestHeaderRemove
- RequestHeaders
- RequestHeaderSet
- RequestPartAdd
- ResponseHeaders
- UrlBuilder
- UrlProperty