Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Updating a row in an Oracle table.

Status
Not open for further replies.

joeythelips

IS-IT--Management
Aug 1, 2001
305
IE
Hi,

I have an oracle table, with approx 10,000 records.
One field contains 52 different types of standing charges.
All of these standing charges have increased, although not at the same rate.
I have a list of all the new charges.
What is the best way to update, and if anyone had some sample code, it would be much appreciated.

Thanks for your time,

Joe
 
I think the easiest way might be to create a table with the standing charges type and the increase rate and then run an update query. Otherwise, you are going to have to use the DECODE statement, probably a bunch of them (57) to do it.

Terry M. Hoey
 
Hi Terry,

Unfortunately, the new rates were individually worked out, rather than a for example, 10 % increase placed on each one.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top