View previous topic :: View next topic |
Author |
Message |
somuk Beginner
Joined: 04 Feb 2003 Posts: 113 Topics: 37
|
Posted: Thu Jul 08, 2004 9:20 am Post subject: Mass update |
|
|
Hi
I have a DB2 table which is having a coulumn (not a key) defined as DECIMAL(5, 0). I want to update that column and add 200 to the existing value.
For example
Current Value
17000.
17001.
17002.
Values after update
17200.
17201.
17202.
Can I do this using SPUFI.? _________________ Regds,
Somu |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Thu Jul 08, 2004 9:25 am Post subject: |
|
|
Somu,
Try this sql
Code: |
UPDATE TABLE SET COLUMN = COLUMN + 200 ;
|
Hope this helps...
Cheers
kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
somuk Beginner
Joined: 04 Feb 2003 Posts: 113 Topics: 37
|
Posted: Thu Jul 08, 2004 9:29 am Post subject: |
|
|
Thanks Kolusu
It worked.. _________________ Regds,
Somu |
|
Back to top |
|
 |
|
|