English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I am writing small program as my project i want to save image for items to the database and retrive it when i'm searching for specifice item in database, i wana know the image should be save in database or in hard(newfolder) and what is different between saving in database and hard drive.?

2007-01-25 09:59:19 · 1 answers · asked by engineer_IT 1 in Computers & Internet Programming & Design

1 answers

Unless the database is specifically designed to store BLOBs (Binary Large OBjects) - which, most are not, you should always store the file in the operating system and index the path in the database. There is no reason to not take advantage of the system that is best optimized for cataloging variable-size binary files - your file system.

2007-01-25 12:07:53 · answer #1 · answered by Rex M 6 · 0 0

fedest.com, questions and answers