Editing the query text
If you want to use valid SQL expressions for which there are no command buttons, you can edit the query text directly by checking the Edit query text check box and typing the expression directly.
步骤:
- Start ArcMap.
- Load data in the map.
-
Right-click the layer for which you want to define a calculated specification rule and click Properties.
The Layer Properties dialog box appears.
- Click the Calculated Representations or Calculated Fields tab.
- If necessary, create a new representation and rule.
-
Click the SQL Statement drop-down arrow and click Edit SQL statement.
The Query Builder dialog box appears.
-
Check the Edit query text check box.
The SELECT, FROM, and WHERE text boxes become editable.
- Change the text as needed in the statement.
- Uncheck the Edit query text check box when you are finished editing the statement.
-
Click OK.
提示:
You can clear the contents of the SELECT OBJECTID and WHERE areas by clicking Clear.
9/30/2010