You can use the SQL tab in the View Editor to view and change the SQL code that is maintained for a view.
To change the SQL code for a view
The View Editor opens.
The SQL dialog opens.
Lets you enter the search condition that must be satisfied by the results of the view query. The text you enter becomes the WHERE clause in the SQL code that is generated for the selected view.
Lets you enter the criteria that you want to use to group rows returned by the view query. The text you enter becomes the GROUP BY clause in the SQL code that is generated for the selected view.
Lets you enter 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 for the selected view.
Note: This option is only available if your target DBMS supports the HAVING clause.
SQL code is changed for the selected view and the View Editor closes.
Copyright © 2013 CA.
All rights reserved.
|
|