BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

how to store images in product db

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (SQL Servers)
View previous topic :: View next topic  
Author Message
Tim Chemaly
Guest





PostPosted: Mon May 24, 2004 3:02 pm    Post subject: how to store images in product db Reply with quote



Hi
How should I store image on a products db? Should I have a link in the
ProductTable that points to the gif/jpeg that is physically saved under an
images folder on the website or should I use blob fields?




Regards

---------------------------------------------------------
Tim Chemaly



Back to top
Yahia El-Qasem
Guest





PostPosted: Mon May 24, 2004 4:22 pm    Post subject: Re: how to store images in product db Reply with quote



there are advantages with both alternatives... depending on the quantity and
perhaps questions like whether the db runs on the same machine together with
the web server or not etc.
it depends on the db you use too - some handle BLOBs very good and some
pretty bad...

btw : you should consider having a table for your images / image references
and another table linking your products to your images... this way you can
have more than one image per product...

Yahia


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (SQL Servers) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.