---
title: "查询表中每行记录的插入时间方法之一"
author: "Kyll"
date: "2011-08-12T10:11:12Z"
tags: []
categories: ["数据库"]
slug: "untitled"
draft: false
lastmod: "2011-08-12T10:11:12Z"
id: 1147079
url: "https://kyll.iteye.com/blog/1147079"
---

select to_char(scn_to_timestamp(ORA_ROWSCN),'yyyy-mm-dd hh24:mi:ss') insert_time from 表名
ORA_ROWSCN默认基于Block。 要在建表时开启行级跟踪
create table
。。。
。。。
rowdependencies