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

Author  Topic 

dirkdiggler
Starting Member

24 Posts

Posted - 2003-01-05 : 11:45:54
Hi Guys I am not sure if this is in the right section but here goes anyway. I am sure this question has been asked before but I can't seem to find the info I need! I have a sql server 2000 database which in am trying to insert images into threw VB. I have tried things along the lines of appendchunk and textcopy but none of them seem to work. Can anyone shed some light on this for me? Some sample code would also be very nice. Thanx in advance.

Dirk

ValterBorges
Master Smack Fu Yak Hacker

1429 Posts

Posted - 2003-01-05 : 12:07:40
This topic has been covered many times before just do a search in the forums. Basically it comes down to store images on the file system store the path the file in sql server.


Go to Top of Page

dirkdiggler
Starting Member

24 Posts

Posted - 2003-01-05 : 12:26:13
I have searched the pervious articles they seem to have some info on how to get a image out of a database then back in, but not about just putting one in there.

Go to Top of Page

ValterBorges
Master Smack Fu Yak Hacker

1429 Posts

Posted - 2003-01-05 : 13:01:09
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/his/thorref4_82n6.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ado270/htm/mdmthappendchunkx.asp

Also goo here
http://www.sqlteam.com/forums/search.asp
and search on keywords "storing images"


Go to Top of Page

dirkdiggler
Starting Member

24 Posts

Posted - 2003-01-05 : 14:03:46
Thankyou very much it would appear that my searching powers are not that great!!

Go to Top of Page

Merkin
Funky Drop Bear Fearing SQL Dude!

4970 Posts

Posted - 2003-01-06 : 01:26:24
the best bit of advice you will find here is ........

Don't do it

Damian
Go to Top of Page
   

- Advertisement -