Best Way to Update Table?
From: chris (anonymous_at_discussions.microsoft.com)
Date: 04/08/04
- Next message: Sebastian: "Query acting strangely"
- Previous message: Gabe Knuth: "Re: Getting values from other fields using min & max aggregates"
- Next in thread: Rachan Terrell: "Best Way to Update Table?"
- Reply: Rachan Terrell: "Best Way to Update Table?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 7 Apr 2004 23:26:02 -0700
Hello,
I have a large table of data. 120million rows, 250 fields
in each row. The important fields in the table for the
update are phone (phone number) and phone_pander_flag
(flag the is Y or N indicating if the person wants to be
called or not).
The data used to updated this large table is in a second
table that is basically just a bunch of phone numbers.
There are 64million phone numbers in this list.
What I want to do is for every phone number in the update
table (the 64million numbers), I want to check the main
table (the 120million record table) for that phone number
and if there is a match, switch the phone_pander_flag to
a 'Y'.
So far, the fastest I've gotten this to run is 50hrs.
There must be a faster and better way.
Let me know.
Chris.
- Next message: Sebastian: "Query acting strangely"
- Previous message: Gabe Knuth: "Re: Getting values from other fields using min & max aggregates"
- Next in thread: Rachan Terrell: "Best Way to Update Table?"
- Reply: Rachan Terrell: "Best Way to Update Table?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
- Re: Why Generics?
... > Chris> It was always possible, the new enums don't generate code ...
> that with switch case, the value of the cases must be a int or char ... No, there's
no problem except wordy, error-prone, repetition. ... Which is almost exactly what the
Java compiler does at the bytecode level. ... (comp.lang.java.programmer) - Re: Coldfusion vs. Java
... only Java programmer and the rest are developing in CF. ... Some of the management
is trying to switch ... resisting programmers are right? ... Chris Smith
- Lead Software Developer/Technical Trainer ... (comp.lang.java.programmer) - Re: Read Only Attribute Stuck ON
... Chris Wrote: ... and even if I take the check out and hit apply they
switch ... Even new folders I just made are instently read ... (microsoft.public.windowsxp.help_and_support) - Re: When printing in Microsoft Word, the letters bunch up
... When I press print, the letters ... >all bunch up on top of
themselves on the left hand side. ... to switch to a different printer and print the document,
... (microsoft.public.word.application.errors) - Re: GTB tech help - does this make sense?
... Yup, what Chris said. ... Really, if you are going to maintain a game,
you need the schematic. ... First check the outhole switch like Jim says, ... Look
to see what switches must be closed to energize that coil. ... (rec.games.pinball)