Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 14th, 2007, 02:02 AM
Registered User
 
Join Date: Dec 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Storing Images into database

Hi.
 I am developing an MFC based application which will store the images into the SQL Server database.
Since the application is a client server i want to store the images into the database not the image path. And also i don't want to share the image.

My problem is can i insert an image into database just by giving its full path, if so please explain me how to do this. I am using ADO.
 
Old May 14th, 2007, 02:58 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

I remember seeing such a question asked here in this forum very long back. Did you do a search here on that topic? I would suggest doing a search to see if you find what you are looking for.

cheers

_________________________
- Vijay G
Strive for Perfection
 
Old May 14th, 2007, 04:28 AM
Registered User
 
Join Date: Dec 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ya i got one topic in this forum..
Thanks for reminding me..

 
Old May 15th, 2007, 09:09 PM
Friend of Wrox
 
Join Date: Oct 2006
Posts: 475
Thanks: 0
Thanked 9 Times in 9 Posts
Default

Not sure why you actually need to store the image... why not just store the file name so you don't need to mess with imagery in a database especially when you need to change the image?

--Jeff Moden
 
Old May 17th, 2007, 05:16 PM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 385
Thanks: 0
Thanked 0 Times in 0 Posts
Default

you don't want to "insert" the image in the database, Just store the image on a file server somewhere and save the location to that file in the database.







Similar Threads
Thread Thread Starter Forum Replies Last Post
Storing images in Database and displaying them Manoj Bisht ASP.NET 1.x and 2.0 Application Design 4 February 6th, 2010 03:06 AM
Load Images from and Save Images to a Database cyndie VB.NET 2 August 17th, 2008 06:42 AM
Storing Videos to Database... ankur_icfai SQL Server 2000 2 October 19th, 2006 01:18 AM
STORING IMAGES & EXPORTING SQLSERVER TABLES harsh_hot MySQL 2 September 8th, 2005 02:10 AM
Storing Images In Oracle & Manipulate Through VB 6 tutul128 Beginning VB 6 1 August 2nd, 2004 03:26 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.