Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A where clause is an SQL expression that is used as a data filter. Only the records that meet the where clause criteria are compared and synchronized. You can specify any valid SQL expression as the where clause. The "where" keyword should not be included in the expression.

...

The following xml fragment defines a where clauses on the employees table that excludes records with emp_id = 3. The where clause is set for both the left and the right databaseschema:

<TablePairs>
     <Pair>
          <LeftObject Name="dboHR.employeesEMPLOYEES"/>
          <RightObject Name="dboHR_COPY.employeesEMPLOYEES"/>
          <WhereClause>emp<WhereClause>EMPLOYEE_id ID != 3</WhereClause>
     </Pair>
</TablePairs>

The following xml fragment defines separate where clauses on the employees table for the left and the right databaseschema. On the left databaseschema, it excludes records with empEMPLOYEE_id ID = 3; on the right databaseschema, it excludes records with empEMPLOYEE_id ID = 4.

<TablePairs>
     <Pair>
          <LeftObject Name="dboHR.employeesEMPLOYEES"/>
          <RightObject Name="dboHR_COPY.employeesEMPLOYEES"/>
          <LeftWhereClause>emp<LeftWhereClause>EMPLOYEE_id ID != 3</LeftWhereClause>
          <RightWhereClause>emp<RightWhereClause>EMPLOYEE_id ID != 4</RightWhereClause>
     </Pair>
</TablePairs>

 

Excerpt

Total compare from data to schema with IDERA SQL Comparison Toolset. Learn more > >

...


Scroll pdf ignore
Newtabfooter
aliasIDERA
urlhttp://www.idera.com
Newtabfooter
aliasProducts
urlhttps://www.idera.com/productssolutions/it-database-management-tools
Newtabfooter
aliasPurchase
urlhttps://www.idera.com/buynow/onlinestore
|
Newtabfooter
aliasSupport
urlhttps://idera.secure.force.com/
|
Newtabfooter
aliasCommunity
urlhttp://community.idera.com
|
Newtabfooter
aliasResources
urlhttp://www.idera.com/resourcecentral
|
Newtabfooter
aliasAbout Us
urlhttp://www.idera.com/about/aboutus
|
Newtabfooter
aliasLegal
urlhttps://www.idera.com/legal/termsofuse

...