Previous Topic: Example of WHERE Clause Containing NOT LogicNext Topic: Direct Table Access


YSQLWHR Model Value

The SQL Where Clause (YSQLWHR) model value lets you specify the method that is more efficient for your target database. The two valid values are:

The end result of the executing application is the same whether you specify *OR or *NOT for YSQLWHR. All that changes is the structure of WHERE clauses in the generated application. This can result in improved performance depending on the target RDBMS.

Note: The OR and NOT logical operators are used only when there is more than one positioner. For example, if there were two restrictors and one positioner, both *OR and *NOT would generate identical SQL statements.