Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Tricky ordering question
"Volker Hetzer" <volker.hetzer_at_ieee.org> wrote in message
news:C56dnSPqxOh0fanZnZ2dnUVZ8qidnZ2d_at_giganews.com...
: Vladimir M. Zakharychev wrote:
: > "Doc Waters" <davidmwaters_at_yahoo.com> wrote in message
news:1144302517.051761.280780_at_u72g2000cwu.googlegroups.com...
: >> Why can't you just order by the timestamp column???
: >>
: >
: > Since different players' moves can have the same timestamp
: > (can hardly imagine this, but OP says they can :),
: > ordering by timestamp alone wouldn't be enough, but order
: > by timestamp,player_id should do the trick.
: Give each move a sequence number. Then order by timestamp, sequence_id.
:
this will only work if only if the sequence is created with the ORDER clause (NOORDER is the default)
but given the timestamp column includes subseconds, how likely is it that even a real-time poker-move data acquisition implant would come up with more than one player with the same timestamp?
++ mcs Received on Thu Apr 06 2006 - 07:15:13 CDT