IsUrlValid

Checks the validity of a URL string

  • Free Function
  • SQL Server Compatibility: 2008, 2012, 2014, 2016, 2017

Syntax:

SELECT SQLHTTP.net.IsUrlValid( @Url )

Arguments:

Name Type Description
@Url nvarchar(4000) Web address

Return Type:

bit

Return Values:

0 = Url is NOT Valid
1 = Url IS Valid

Remarks:

This function only validates the structure of the URL but does not validate the existence of the web address

Sample Usage:

See Also: