PLSDev 13 Beta 4 - wrong timestamp sorting in Grid

Timestamps are sorted as string on the client side. Therefore you either need to modify the "order by" clause for server side sorting, or use an NLS_TIMESTAMP_FORMAT that starts with "YYYY-MM-DD" so that string sorting will lead to the correct result.
 
But why does PLD sort timestamp columns as strings?
VARCHAR columns are sorted as strings, NUMBER columns are sorted as numbers, DATE columns are sorted as dates etc.
Therefore TIMESTAMP columns should of course be sorted as timestamps. PLD/Oracle supports 18 different data types and they should of course all be sorted correctly in SQL grid.
 
Claus Pedersen said:
But why does PLD sort timestamp columns as strings?
VARCHAR columns are sorted as strings, NUMBER columns are sorted as numbers, DATE columns are sorted as dates etc.
Therefore TIMESTAMP columns should of course be sorted as timestamps. PLD/Oracle supports 18 different data types and they should of course all be sorted correctly in SQL grid.

You hit the right reason why this was reported.
 
Back
Top