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.
| Author |
Topic |
|
vermorel
Starting Member
26 Posts |
Posted - 2006-05-03 : 09:25:29
|
I have a have table containing an "image" field along a few other fields. I would like to retrieve the sum of the sizes a collection of "images", i.e. the pseudo-code belowSELECT SUM(SIZEOF(MyImage)) FROM MyTableWHERE MyTable.SomeId = @SomeId Does anyone knows how to do that?Thanks in advance, Joannes |
|
|
vermorel
Starting Member
26 Posts |
Posted - 2006-05-03 : 09:41:57
|
| Ok, it's not "SIZEOF", it's "DATALENGTH". Sorry for spamming.Joannes |
 |
|
|
|
|
|