in reply to Updating database question
This will minimize the number of queries that you will run. Combine this with what fletch suggested and you'll have some code that's easier on your eyes, easier to maintain, and easier on your server. :)UPDATE STAGING.STAGING_PREPOUICS SET column3 = 'EN' WHERE column4 = 'ENG'; etc...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Updating database question
by curtisb (Monk) on Jun 30, 2005 at 18:59 UTC | |
by shiza (Hermit) on Jun 30, 2005 at 19:03 UTC | |
by curtisb (Monk) on Jun 30, 2005 at 19:25 UTC | |
by shiza (Hermit) on Jun 30, 2005 at 19:31 UTC | |
by dragonchild (Archbishop) on Jun 30, 2005 at 19:04 UTC | |
by shiza (Hermit) on Jun 30, 2005 at 19:26 UTC | |
by dragonchild (Archbishop) on Jun 30, 2005 at 21:03 UTC |