SqlHelper QueriesEqual Method Kentico 8.0 API Reference
Returns true if two queries equal by their content. Ignores extra whitespaces and comments within the comparison

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

query1
Type: OnlineSystem String 
First query
query2
Type: OnlineSystem String 
Second query
returnDifference (Optional)
Type: OnlineSystem Boolean
If true, the difference (remainders that don't match) are returned through original values

Return Value

Type: OnlineBoolean
See Also