Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Address last rows in a table

Re: Address last rows in a table

From: mark tomlinson <micro_at_work.org>
Date: Thu, 28 Jan 1999 20:59:22 GMT
Message-ID: <36b0cf43.9062659@newshost.us.oracle.com>


A SQL RDBMS only is guaranteed to return data in a specific order if an ORDER BY clause is used. Granted, the order is usually that in which it was entered, bbut this is not always the case. You really need a column to order on - say a date column with SYSDATE inserted via a trigger when the row is updated. You then order by that column desc. Received on Thu Jan 28 1999 - 14:59:22 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US