Search Postgresql Archives

Numeric Sorting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

Just a quick one, I have been around Postgres for a little while and have never found an answer to this.

Can you numerically sort a set of integers stored in a char column, I guess change the cast of the column for the "sort by" process.

and, if you can how...Unfortunatly I have no choice in the current "char" definition of the column.

The version of PSQL is 8.+

TIA

Regards

C




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux