Re: One SQL, two conns
From: Stuart Palmer (stuartglenpalmer_at_ntlworld.com)
Date: 08/29/04
- Next message: Bob Barrows [MVP]: "Re: One SQL, two conns"
- Previous message: Stuart Palmer: "Re: One SQL, two conns"
- In reply to: Manohar Kamath [MVP]: "Re: One SQL, two conns"
- Next in thread: Bob Barrows [MVP]: "Re: One SQL, two conns"
- Reply: Bob Barrows [MVP]: "Re: One SQL, two conns"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 29 Aug 2004 15:42:47 GMT
Thx,
I think I understadn what you mean, but I am not quite understanding.
I have MDB db's. Are you saying I should be able to somehow add something to
the products MDB to state that I want it to connect to the other in some
manner?
Do you have a link to anything on the web that might be able to explain this
better? I have looked up connection pooling on the www but it offers me no
example (code/process for me to do this except enabling and disabling
it....which is done on the server (my Host won't let me do this I don't
think :o( )
Thx again
Stu
"Manohar Kamath [MVP]" <mkamath@TAKETHISOUTkamath.com> wrote in message
news:OEzbnKdjEHA.3608@TK2MSFTNGP09.phx.gbl...
> Stuart,
>
> A good practice is to connect to only one database, and take advantage of
> connection pooling. You can create views in your product table, to the
> tables within cart database. This way, you can just connect to one
database.
>
> --
> Manohar Kamath
> Editor, .netWire
> www.dotnetwire.com
>
>
> "Stuart Palmer" <stuartglenpalmer@ntlworld.com> wrote in message
> news:_leYc.9$fU3.6@newsfe6-win.ntli.net...
> > Hi There,
> > I'm writing an ASP cart and hit a problem.
> >
> > I have 2 db's, one is products, one is cart contents.
> >
> > Cart contents holds the unique ID from products when you do your
'basket'.
> >
> > When I display the basket, I want to display the products name from the
> > products DB based on the ID stated in the cart DB
> >
> > I have been informed I can do this with SQL some how, but that means I'd
> > have to create two conn objects? or can it be done another way?
> >
> > Thx for the advise.
> >
> > Stu
> >
> >
>
>
- Next message: Bob Barrows [MVP]: "Re: One SQL, two conns"
- Previous message: Stuart Palmer: "Re: One SQL, two conns"
- In reply to: Manohar Kamath [MVP]: "Re: One SQL, two conns"
- Next in thread: Bob Barrows [MVP]: "Re: One SQL, two conns"
- Reply: Bob Barrows [MVP]: "Re: One SQL, two conns"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|