0

Hi all
While working on Oracle I came across a situation where I need to select the rows from a table in which the recently inserted row should be at the top of my selection.
But here in my table I am not using any Identity column. I know how to do the same when there is an Identity column present, but is there any way to do this without Identity column?

shary.sharath
  • 649
  • 2
  • 14
  • 29

1 Answers1

1

Unless you have a sequential ID or Timestamp or some other field you can ORDER BY, Oracle provides no guarantee of order and you should not rely on it.

Chris Cameron-Mills
  • 4,587
  • 1
  • 27
  • 28