---
title: "oracle数据表闪回技术"
author: "liwei888"
date: "2012-04-09T20:25:21Z"
tags: ["Oracle"]
categories: ["数据库"]
slug: "oracle"
draft: false
lastmod: "2012-04-09T20:25:21Z"
id: 1481217
url: "https://liwei888.iteye.com/blog/1481217"
---

第一步：

show parameter undo --显示数据库的闪回参数  
第二步：

alert table flash\_table01 enable row movenent;--设置数据表可以行移动  
第三步：

flashback table flash\_table01  to timestamp  
to\_timestamp('2009-11-04 09:42:38','yyyy-mm-dd hh24:mi:ss'); --把数据闪回到具体时间点。