Use the Where tab in the SQL Server View Editor to specify search conditions for queries against a view. The information you enter in the fields in this tab become the SQL code that is generated.
To specify the properties for the WHERE clause for a SQL Server view
The SQL Server View Editor opens.
Defines the search condition that must be satisfied by the results of the query. The text you enter becomes the WHERE clause in the SQL code that is generated. The WHERE clause excludes rows that do not meet the search condition.
Defines the criteria to use to group rows returned by the query. The text you enter becomes the GROUP BY clause in the SQL code that is generated. The GROUP BY clause places the selected rows into one group for each unique value.
Defines the search condition that is applied to each row group, and filter out rows that do not meet the specified search condition. The text you enter becomes the HAVING clause in the SQL code that is generated.
Applies the With Check Option restriction to the WHERE clause.
The WHERE clause properties are specified for the selected view and the SQL Server View Editor closes.
Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |