Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Reset Redo Log Files

390534Jul 31 2003 — edited Aug 19 2003
How do I reset the contents of the REDO.LOG files?

I just set up and installed the LogMiner and when I do a SELECT sql_redo
FROM V$LOGMNR_CONTENTS

I am seeing way more information then i care to see. I do see what I wanted at the end of the results so it would appear all I need to do is reset this log file.


In Sybase you issue truncate log command. I am new to Oracle and can not find the equivalent.

Thank you,
David Miller

Comments

Frank Kulash
Hi,

CAST is great for that:
SELECT	CAST (created_time AS TIMESTAMP)	AS created_timestamp
FROM	order_tbl;
 

I hope this answers your question.
If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables, and also post the results you want from that data.
Explain, using specific examples, how you get those results from that data.
€$ħ₪
try with

TO_CHAR,TO_TIMESTAMP
William Robertson
+1 for CAST.

TO_TIMESTAMP could work, but it takes a VARCHAR2 which complicates things a little.
Amer Ramamni-Oracle
Thanks guys,

CAST it is, and it works for me.

Thanks
1 - 4
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Sep 16 2003
Added on Jul 31 2003
12 comments
707 views