Allow ORDER BY a Function
Started by David Hartwigabout 27 years ago2 messages
Bruce,
Small correction to the TODO list. The "allow ORDER BY a function"
feature already exist in 6.4.
EXAMPLES:
SELECT foo FROM bar ORDER BY upper(foo);
-- or any other expression for that matter
SELECT foo FROM bar ORDER BY att1 || att2;
It was done as part of the "allow GROUP BY a function" feature.
Re: [HACKERS] Allow ORDER BY a Function
Updated.
Bruce,
Small correction to the TODO list. The "allow ORDER BY a function"
feature already exist in 6.4.EXAMPLES:
SELECT foo FROM bar ORDER BY upper(foo);
-- or any other expression for that matter
SELECT foo FROM bar ORDER BY att1 || att2;
It was done as part of the "allow GROUP BY a function" feature.
--
Bruce Momjian | http://www.op.net/~candle
maillist@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026