[Webinar] Streamline your web hosting managementRegister Today


Error 624

Posted on 2000-02-09
Medium Priority
Last Modified: 2008-02-20
We have just upgraded our database server to a 14 processor ultrasparc and are now having a problem with one of the tables in the database.
We dumped the database and reloaded it on the new machine and now one of the tables is giving us error 625 (Could not retrieve row from logical page %ld via RID because the entry in the offset
table for that RID is less than or equal to 0.) whenever we try to update it from a trigger in another table in the database. DBCC shows no errors and we have even dropped the table and BCP'd the data back into it but still the error occurs.
We are also getting the occasional error 693, 625, and 605 but again only on this table even after we have recreated it.

Has anyone any ideas of what this can be and how to fix it?
Question by:Boring

Author Comment

ID: 2504584
sorry the title of the above should read error 625

Expert Comment

ID: 2504819
Have you tried this:

find which index may be used by the trigger.
drop the index and recreate it.


(re)create a clustered index on the table

The above solutions come from the Sybase error messages book.

Also maybe the problem is at the table the trigger fires from, maybe recreate  the trigger? Or the entire table?

Good luck...


Expert Comment

ID: 2507248
I think I have run into this before. Try to recreate the trigger and all stored procedures it calls.

If that won't help, send here output of the 'select @@version' command (the version string).
Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.


Author Comment

ID: 2507296
I have found the section of the trigger causing the problem. This worked before we moved onto the new machine. The Trigger  is stored in the OrderLine table and is triggered on a Status update and acts on ChargeLine.
Comment this section out and all work fine. This should never have hit we can find no line where this delete would delete anything. Any thoughts?

/*      delete ChargeLine where Charged <> 'y'  
                              AND (BatchNo=0 or BatchNo is NULL)  
                              AND exists(select * from inserted i    
                                                where i.OrderNo=ChargeLine.OrderNo  
                                                AND i.SectionID=ChargeLine.SectionID  
                                                AND i.LineRef=ChargeLine.LineRef  
                                                AND ((i.LineStatus<>"3" AND i.LineStatus<>"3a"  AND i.LineStatus<>"8") OR i.LineStatus is NULL))  
                              AND exists(select * from deleted d    
                                                where d.OrderNo=ChargeLine.OrderNo  
                                                AND d.SectionID=ChargeLine.SectionID  
                                                AND d.LineRef=ChargeLine.LineRef  
                                                AND (d.LineStatus="3" OR d.LineStatus="3a" OR d.LineStatus="8"))  

Author Comment

ID: 2507302
We have recreated everything on the table we currently have one clustered and one non clustered index. And like I said we have compleatly destroyed and re-created the whole table.

Author Comment

ID: 2507303
Adaptive Server Enterprise/11.9.2/1031/P/Sun_svr4/OS 5.5.1/FBO/Fri Aug 14 06:26:45 1998

Accepted Solution

albertsp earned 600 total points
ID: 2507603
We had te same problems here.

You have run into bug 195847

wrID  BugID   Description
   -----  ------  ------------------------------------------------------

    8444  195847  Queries using OR strategy with APL tables (Using
                  Dynamic Index reported by SET SHOWPLAN option) may hit
                  error 625 "Could not retrieve row from  logical page
                  <X> via RID because the entry in the offset table for
                  that  RID is less than or equal to 0." resulting into
                  the session being killed.   A stack trace will be
                  reported into the error log with modules apl_getnext,

This means that you must upgrade your Sybase version.

The latest Sybase software relaease is SWR 8720 from 25 Januari.

Get it as soon as possible from Sybase (CD or download)

Succes, Albert

Expert Comment

ID: 2521552
It could be the problem with the Hardware too.
so U  ,where and hoe Ur datafile R ,if it is in file system and in Raid too ,
then U have to understood how Ur operating system is taking care of UR ASE while writing to disk. Secondly ,Do check on which device Ur table is located and try to change is to some other physical device .
R U facing this problem

1.with certain table or all the table on that device .

2. that table size and number of transaction on that table compare to other table on the same device.

3. and hoe frequent U R doing Transaction on that table ,

4. Does that table contain the varchar datatype and  null field on col.

5.Does Index contain the varchar field.and hoe frequently U r modifying it.

Those going to be the decieding factor for the wheather problem is with device or ASE problem.

Author Comment

ID: 2623319
I am SOOO sorry that I did not accept your answer quickly. Is there any way I can up the autograde to a better one?

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Can you run Linux on a Windows system?  Yep.  Here's how.
Organisation is organized in a pattern to flow the day to day business, every application and system is interdepended on each other and when very important “Exchange Server downtime” happened.
How to fix display issue, screen flickering issue when I plug in power cord to the machine. Before I start explaining the solution lets check out once the issue how it looks like after I connect the power cord. most of you also have faced this…
The video provides a quick and easy steps to migrate MBOX file to well known Outlook PST and Office 365. Besides this, it also supports and migrates more than 20 email clients of MBOX which include AppleMail, Opera, Thunderbird and SeaMonkey effortl…
Suggested Courses

607 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