all groups > sql server programming > january 2007 >
You're in the

sql server programming

group:

image size


image size Jon Paal
1/31/2007 8:50:56 PM
sql server programming:
how do I query for size of image (bytes) stored in database field

Re: image size Hari Prasad
1/31/2007 10:58:36 PM
Hello,

What I does is:-

1. I will copy that image into a new table using Select Imagecol INTO <new
table> from existing where condition

2. Execute SP_SPACEUSED on the new table..

Thanks
Hari

[quoted text, click to view]

Re: image size Peter W. DeBetta
1/31/2007 11:48:58 PM
datalength(imageField)

--
Peter DeBetta, MVP - SQL Server
http://sqlblog.com
--
[quoted text, click to view]

AddThis Social Bookmark Button