Solved

ORA-01555 - For update Statement

Posted on 2011-09-22
4
525 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
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 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

749 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