View previous topic :: View next topic |
Author |
Message |
Pavani Donepudi Beginner
Joined: 07 Apr 2004 Posts: 13 Topics: 7
|
Posted: Mon Jan 23, 2006 10:06 pm Post subject: Mass update on a table - resulting in -904 |
|
|
Hi,
I am looking for a solution for the following req. I need to update one column with a value for the entire table records which has approximately 800000 (800 Thousands records). Update is simple but probably because of the huge data, it is resulting in -904.
Unfortunately I need to achieve this only via SQLs.
UPDATE TABLE1
SET COLUMN3 = 'N'
WHERE COLUMN1 = 'A'
AND DATE_COL IS NULL;
Any clue on this would be appreciated.
Regards,
Pavani. |
|
Back to top |
|
|
bauer Intermediate
Joined: 10 Oct 2003 Posts: 315 Topics: 49 Location: Germany
|
Posted: Tue Jan 24, 2006 4:25 am Post subject: |
|
|
Hi,
-904 = Unavialable resource. Check SQLCA (or Spufi output ..) which resource in unavailable. Is table (pages of table) accessed by other programs/ user during executing your update?
Try lock table before updating.
regards,
bauer |
|
Back to top |
|
|
|
|