Solved

ORA-01555 - For update Statement

Posted on 2011-09-22
4
526 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 23

Expert Comment

by:OP_Zaharin
ID: 36579306
- 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 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 total points
ID: 36579400
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
ID: 36579412
Hi Angelll,

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

Author Closing Comment

by:manzoor_dba
ID: 36585929
Thanks
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
This video shows how to recover a database from a user managed backup

691 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