简体   繁体   中英

Date wise sorting of an oracle table without any date column

I have a table with a million rows in oracle. But it doesn't have any date column. Is it still possible that I can sort the rows based on the date they were created on ?

ORA_ROWSCN seems to be what you are looking for. Note that it has some conditions. See here for details.

No, you can't. The closest you can get is with ORA_ROWSCN , but unless you have row dependencies enabled that wll reflect changes at block level rather than row level, and if rows have been updated it will refer to that time not the original row insertion time.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM