Re: [SQL] to_char() and order-by

2002-06-28 Thread Karel Zak
On Thu, Jun 27, 2002 at 12:27:11PM -0700, Jeff Boes wrote: > Perhaps this was covered in the 7.2.x release notes, but it's mystifying us: Please, how are data without to_char()? select time_link from stat_fetch where time_link is not null order by 1 desc limit 10; Karel > select to

[SQL] to_char() and order-by

2002-06-27 Thread Jeff Boes
Perhaps this was covered in the 7.2.x release notes, but it's mystifying us: select to_char(time_link,'999.99') from stat_fetch where time_link is not null order by 1 desc limit 10; (time_link is a double-precision column.) Under 7.1.3, this returns results like: to_char - 9.99