XmlCompare

Compares two XML strings

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

Syntax:

SELECT SQLHTTP.net.XmlCompare( @Xml1, @Xml2 )

Arguments:

Name Type Description
@Xml1 xml First XML to be compared.

@Xml2 xml Second XML to be compared.

Return Type:

bit

Return Values:

0 = The two XML strings ARE NOT the same.
1 = The two XML strings ARE the same.

Sample Usage:

See Also: