Skip to Main Content

SQL & PL/SQL

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!

Previous line

baskar.lMay 25 2010 — edited May 25 2010
hi all,
SQL> select * from log where text_line like '%Starting ORACLE instance (normal)%';

TEXT_LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Starting ORACLE instance (normal)
Starting ORACLE instance (normal)
Starting ORACLE instance (normal)
Starting ORACLE instance (normal)
Starting ORACLE instance (normal)
Starting ORACLE instance (normal)
Starting ORACLE instance (normal)
Starting ORACLE instance (normal)
Starting ORACLE instance (normal)
Starting ORACLE instance (normal)
Starting ORACLE instance (normal)
Starting ORACLE instance (normal)
Starting ORACLE instance (normal)
Starting ORACLE instance (normal)

14 rows selected.
I need to only select the previous line of the above output how can i do that?

thanks,
baskar.l
This post has been answered by Karthick2003 on May 25 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 22 2010
Added on May 25 2010
12 comments
997 views