|
1 | | -<!-- $PostgreSQL: pgsql/doc/src/sgml/syntax.sgml,v 1.119 2007/06/05 21:31:04 tgl Exp $ --> |
| 1 | +<!-- $PostgreSQL: pgsql/doc/src/sgml/syntax.sgml,v 1.120 2007/12/11 18:30:20 mha Exp $ --> |
2 | 2 |
|
3 | 3 | <chapter id="sql-syntax"> |
4 | 4 | <title>SQL Syntax</title> |
@@ -1748,7 +1748,7 @@ SELECT ... WHERE CASE WHEN x <> 0 THEN y/x > 1.5 ELSE false END; |
1748 | 1748 | </programlisting> |
1749 | 1749 | A <literal>CASE</> construct used in this fashion will defeat optimization |
1750 | 1750 | attempts, so it should only be done when necessary. (In this particular |
1751 | | - example, it woulddoubtlessbe best to sidestep the problem by writing |
| 1751 | + example, it would be best to sidestep the problem by writing |
1752 | 1752 | <literal>y > 1.5*x</> instead.) |
1753 | 1753 | </para> |
1754 | 1754 | </sect2> |
|