Bagikan melalui


How to: Modify Join Operators

By default, the Query and View Designer joins tables using an equal sign (an equijoin), which matches values in the two join columns. If you want, you can change the operator used to compare values in the join columns.

Note

Your computer might show different names or locations for some of the Visual Studio user interface elements in the following instructions. The Visual Studio edition that you have and the settings that you use determine these elements. For more information, see Visual Studio Settings.

To modify join operators

  1. In the Diagram pane, right-click the join line you want to modify, and then choose Properties from the shortcut menu.

  2. In the Property window, click Join Condition and Type and click the ellipses (…) to the right of the property.

    In the Join dialog box select a new operator.

See Also

Tasks

How to: Join Tables Manually

Concepts

How to: Join Tables Automatically

Other Resources

Querying with Joins