in reply to change data in the mysql through DBI
It's not clear to me what you want to do. Maybe you can tell us your table structure. Are you sure that the following SQL statement doesn't do what you want? You can roll these 5 into one statement if you have a very large table (I guess starting at a billion rows or so) that you want to do one scan over, but doing the 5 statements might be more suitable.
UPDATE staff SET wage = ? WHERE position = ?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: change data in the mysql through DBI
by baxy77bax (Deacon) on Apr 05, 2008 at 20:07 UTC | |
by Corion (Patriarch) on Apr 05, 2008 at 20:21 UTC |