dbmathis has asked for the wisdom of the Perl Monks concerning the following question:
And the 45000 emp_ids exist in a flat file in the following format which is an emp_id per line.update ( select t1.field1, 999 deact_status from schema.table1 t1 inner join schema.table2 t2 on t1.id = t2.id where t2.field2 = $emp_id ) set field1 = deact_status
0909099 3298729 2849872 2472972 ... ... ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Oracle mass update script request.
by Gangabass (Vicar) on Jul 28, 2008 at 02:00 UTC | |
|
Re: Oracle mass update script request.
by TedPride (Priest) on Jul 28, 2008 at 04:06 UTC | |
|
Re: Oracle mass update script request.
by grinder (Bishop) on Jul 28, 2008 at 10:21 UTC | |
by dbmathis (Scribe) on Jul 28, 2008 at 12:08 UTC | |
by roboticus (Chancellor) on Jul 28, 2008 at 12:16 UTC | |
by dbmathis (Scribe) on Jul 28, 2008 at 14:08 UTC |