Re: One SQL, two conns
From: Manohar Kamath [MVP] (mkamath_at_TAKETHISOUTkamath.com)
Date: 08/29/04
- Next message: Joe: "asp permission error"
- Previous message: Joe: "asp permission error"
- In reply to: Stuart Palmer: "One SQL, two conns"
- Next in thread: Stuart Palmer: "Re: One SQL, two conns"
- Reply: Stuart Palmer: "Re: One SQL, two conns"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 29 Aug 2004 09:15:42 -0500
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: Joe: "asp permission error"
- Previous message: Joe: "asp permission error"
- In reply to: Stuart Palmer: "One SQL, two conns"
- Next in thread: Stuart Palmer: "Re: One SQL, two conns"
- Reply: Stuart Palmer: "Re: One SQL, two conns"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|