I have a column with a RawDatadata type name Imagein my table. I need to find all rows that are larger than 1 MB.
RawData
Image
It would be great if someone helped me with this question. I am using SQL Server 2008.
Thanks in advance
SELECT * FROM tbl WHERE DATALENGTH(RawData) > 1048576