SqlHelperQueriesEqual Method |
Returns true if two queries equal by their content. Ignores extra whitespaces and comments within the comparison
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax public static bool QueriesEqual(
ref string query1,
ref string query2,
bool returnDifference = false
)
Parameters
- query1
- Type: SystemString
First query - query2
- Type: SystemString
Second query - returnDifference (Optional)
- Type: SystemBoolean
If true, the difference (remainders that don't match) are returned through original values
Return Value
Type:
BooleanExceptions See Also