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
 General SQL Server Forums
 New to SQL Server Programming
 problem in saving image ????

Author  Topic 

SanjaySutar
Starting Member

18 Posts

Posted - 2008-03-27 : 03:05:33
Hi
i am using textcopy to store image (named as mypic.jpg) in image column.
But i am getting error :
text or image pointer and timestamp retrieval failed

I guess this is bacause of image size ...
The default image column length is 16. I tried changing it but it's not changing and Books Online shows that the image column can store max upto 2 GB.

I just want to know also how to change that size to say 100kb?????


thanx in advance

San

nr
SQLTeam MVY

12543 Posts

Posted - 2008-03-27 : 03:12:22
The 16 bytes is a pointer to the data which is stored off row.

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

SanjaySutar
Starting Member

18 Posts

Posted - 2008-03-28 : 08:38:46
thanx 4 the reply

but how to overcome the error??????

San
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2008-03-28 : 08:47:03
We will have to see the code and table DDL for that.



E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page
   

- Advertisement -