Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Images in DB

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-06-19 : 12:23:15
Srinivas writes "I'm able to store images into the database (sqlserver7.0 )in vb application by usingj ADO's. But i'm unable to retrieve the storedimage from the database.
Pl help me
Srinivas"

M.E.
Aged Yak Warrior

539 Posts

Posted - 2002-06-19 : 12:38:32
Ahhhh, run from the evil images hiding in your Database... Or something like that.

I'd recommend against storing images in your DB. Store the image on your servers hard drive and simply hold the file name and the directory in your database

-----------------------
Take my advice, I dare ya
Go to Top of Page

jackstow
Posting Yak Master

160 Posts

Posted - 2002-06-20 : 04:39:27
There's been an discussion about this on www.gotdotnet.com - http://www.gotdotnet.com/community/messageboard/Thread.aspx?id=21561 - and it seems that some people are storing images in the database and are getting it to work well. Maybe a blanket 'don't do it' should be 'it might work in some situations'.


Go to Top of Page

Nazim
A custom title

1408 Posts

Posted - 2002-06-20 : 04:47:00
Check FAQ on this site .



-------------------------
What lies behind you and what lies ahead of you are small matters compared to what lies within you.-Ralph Waldo Emerson
Go to Top of Page

bouno
Starting Member

23 Posts

Posted - 2002-06-24 : 14:54:30
Hi all,

can someone explain how to create an image for a mssql database server?

TIA,
bouno

Go to Top of Page

robvolk
Most Valuable Yak

15732 Posts

Posted - 2002-06-24 : 15:23:55
You don't actually create the image in SQL Server, you load the binary data of the image from a JPEG or GIF file into SQL Server. This is usually accomplished by using ADO Stream objects, which were designed primarily for this purpose.

Go to Top of Page

Page47
Master Smack Fu Yak Hacker

2878 Posts

Posted - 2002-06-24 : 15:37:28
quote:

can someone explain how to create an image for a mssql database server?



You are not, by any chance, confusing an image (bitmap, jpeg, tiff) with a disk image that would be created by software like Norton Ghost?

<O>
Go to Top of Page
   

- Advertisement -