Solved

ORA-01555 - For update Statement

Posted on 2011-09-22
4
508 Views
Last Modified: 2012-05-12
Hi All,

I am getting ora-01555- snap shot tool old error for an update statement , pls find the below.
This is a very simple update statement, i couldnt get the logic of how this ora error firing for
a update statement. Anybody can shower some clue on how this could happen ?

The below is taken from alert log .

ORA-01555 caused by SQL statement below (Query Duration=1576 sec, SCN: 0x09a2.5dda3165):
Fri Sep 16 16:33:40 2011
UPDATE SSPT_NETWORK_DETAILS SET INCLUDE_OFFERS = 'Yes' WHERE SESS_ID = SESS_ID
0
Comment
Question by:manzoor_dba
  • 2
4 Comments
 
LVL 23

Expert Comment

by:OP_Zaharin
Comment Utility
- there is a long explanation on this on 'Ask Tom'. see if the article could assist you to find the cause:
http://asktom.oracle.com/pls/asktom/f?p=100:11:4458737588211888::::P11_QUESTION_ID:275215756923

- looking at your update statement, would it the same as:
UPDATE SSPT_NETWORK_DETAILS SET INCLUDE_OFFERS = 'Yes'
0
 
LVL 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 total points
Comment Utility
UPDATE SSPT_NETWORK_DETAILS SET INCLUDE_OFFERS = 'Yes' WHERE SESS_ID = SESS_ID

I must presume that this is in the context of a stored proc.
I then must presume that the stored proc has a parameter, names SESS_ID, having hence the same name as the table's column name
if those 2 presumptions are correct, simply change the procedure's parameter name, for example to p_SESS_ID, and the sql to:

UPDATE SSPT_NETWORK_DETAILS SET INCLUDE_OFFERS = 'Yes' WHERE SESS_ID = p_SESS_ID

and your problem should be gone.
0
 
LVL 5

Author Comment

by:manzoor_dba
Comment Utility
Hi Angelll,

Thanks for pointing me that.. will inform the developement guys and get back..
0
 
LVL 5

Author Closing Comment

by:manzoor_dba
Comment Utility
Thanks
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
Via a live example, show how to take different types of Oracle backups using RMAN.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now