May 3, 2010 at 5:34 am
Hi Everyone ,
One of our columns in a SQL Server 2005 database , is a image data type . This columns alredy has some data in it .... If i change the data type to varchar(max) will the data be corrupted
Regards
Sabarish
wwewew
May 3, 2010 at 6:52 am
you have to use a varbinary(max) to replace an IMAGE datatype;
I just tested it, and by simply changing the datatype with this command, i did not get any errors and was able to get the image back out of the table:
alter table imgtest alter column imgblob varbinary(max)
Lowell
May 3, 2010 at 6:55 am
Thanks for the confirmation... i also did that and got the same rsult
wwewew
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply