Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: query flashback 9i

RE: query flashback 9i

From: Larry Elkins <elkinsl_at_flash.net>
Date: Wed, 03 Oct 2001 10:24:56 -0700
Message-ID: <F001.003A0DA4.20011003103835@fatcity.com>

Joe,

I just tried the following against 9.0.1.1.1 EE on W2K SP2. I was able to pull up the values prior to the update without any problems.

SQL> update emp
  2 set sal = sal * -1;

14 rows updated.

SQL> commit;

Commit complete.

SQL> EXECUTE DBMS_FLASHBACK.ENABLE_AT_TIME(SYSDATE -1); PL/SQL procedure successfully completed.

SQL> select ename, sal from emp;

ENAME SAL
---------- ----------

SMITH             800
ALLEN            1600
WARD             1250

<snip>

14 rows selected.

SQL> execute DBMS_FLASHBACK.DISABLE;

PL/SQL procedure successfully completed.

SQL> select ename, sal from emp;

ENAME SAL
---------- ----------

SMITH            -800
ALLEN           -1600
WARD            -1250
JONES           -2975

<snip>

14 rows selected.

Regards,

Larry G. Elkins
elkinsl_at_flash.net
214.954.1781

-----Original Message-----
Sent: Wednesday, October 03, 2001 11:50 AM To: Multiple recipients of list ORACLE-L

anyone had any success with query flashback in 9i? i'm testing it and keep getting an ora-1466 error(yes i looked it up and it really doesnt pertain based on the "sample" query from the 9i docs, guess i'm off to writing my own test(stupid example had like 10 errors in it).

thanks, joe

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Larry Elkins
  INET: elkinsl_at_flash.net

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed Oct 03 2001 - 12:24:56 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US