Length of image columns - DATALENGTH function

by dotnetpete 25. June 2009 17:42

I needed to find the length of an image column in the database. You can use the LEN function on varbinary columns but not image columns.

The DATALENGTH function however does work very nicely. 

Tags:

SQL

Add comment




biuquote
Loading