Re: Linking multiple databases

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: William Ryan eMVP (dotnetguru_at_comcast.nospam.net)
Date: 05/04/04


Date: Tue, 4 May 2004 12:43:58 -0400

I'm not following you. You can still use a Where on each to restrict he
number of rows, in fact, you 'should' use a where if you have tables of that
size.
"Tim Almond" <timdotalmondatlibermensdotcomspamtrap> wrote in message
news:uz$dW#eMEHA.3052@TK2MSFTNGP12.phx.gbl...
> I would, except that the other tables to like to have over 6m records in
> each, so retrieving all the data for the sake of 20-100 records is going
to
> be very slow.
>
>
>
> "William Ryan eMVP" <dotnetguru@comcast.nospam.net> wrote in message
> news:%23cNFMoeMEHA.3052@TK2MSFTNGP12.phx.gbl...
> > Pull each table into a different table in a dataset. You can add
> > datarelations if they correspond or whatever else. Use a different
> adapter
> > to fill each one, that way, whatever changes are made, all you need to
do
> is
> > call DataAdapter.Update on the respective adapter and you'll be good to
> go.
> >
> > Cheers,
> >
> > Bill
> > "Tim Almond" <timdotalmondatlibermensdotcomspamtrap> wrote in message
> > news:#Vm#FmeMEHA.3016@tk2msftngp13.phx.gbl...
> > > We have a database of print requests, and I need to get one piece of
> > > information from some other databases for each request to show in a
> > datagrid
> > > (they are linked by an account number).
> > >
> > > I could do it in a stored procedure, but was thinking of using code as
> I'd
> > > like to be able to change the database locations in one place only.
> > >
> > > The print requests database is quite small, but the databases to link
to
> > are
> > > massive. I was wondering about passing in the list of account numbers
to
> > > another query, but don't know the best way.
> > >
> > > Any thoughts on best approach in code?
> > >
> > >
> >
> >
>
>



Relevant Pages

  • Re: Sirius Tuner?
    ... >> Bill Longyard ... If it was built-in the car deck I'd never listen to ... > AM/FM/CD unit can handle an AUX Audio Input Adapter and wire your Sirius ...
    (rec.music.artists.springsteen)
  • programatically generated typed dataset?
    ... i am using the datagrid control. ... i config'd the adapter ... i noticed having the typed dataset produced nice behavior in the datagrid -- ... those controls at design time. ...
    (microsoft.public.dotnet.framework.adonet)
  • Which newsgroup for help? (was Re: Zombie PPP adapter - help!)
    ... so apparently nobody in this group can/will help. ... Bill ... > see the adapter listed with all the IP numbers zeroed out. ... > I can reboot the machine to clear the zombie, ...
    (microsoft.public.windowsxp.general)
  • Re: Copy a table using ADO.Net
    ... William (Bill) Vaughn ... >> Are you asking about creating the DDL or populating it? ... >> adapter to false, fill your datatable, then use the next adapter and call ... If you need only the schema, then loop through the schema table ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: 8" disks
    ... >>Can 22DISK do 8" disks on a PC disk controller? ... >>Does anyone still make the necessary adapter to connect an 8" drive ... > Hi Bill, ... > (Go to the disks/software-images link near the bottom of the main ...
    (comp.os.cpm)