[英]Date wise sorting of an oracle table without any date column
I have a table with a million rows in oracle. 我在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 ? 我仍然可以根据行的创建日期对行进行排序吗?
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. 可以得到的最接近的是ORA_ROWSCN
,但是除非启用了行依赖性,否则它将在块级别而不是行级别反映更改,并且如果行已更新,它将引用该时间而不是原始行插入时间。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.