datalength Questions
9
Solved
I ran into something a little odd this morning and thought I'd submit it for commentary.
Can someone explain why the following SQL query prints 'equal' when run against SQL 2008. The db compatibil...
Yoheaveho asked 9/9, 2009 at 13:56
6
Solved
Recently I faced a issue when using len() in a query to find out the length of a query, len() was not counting the trailing spaces in the value. But datalength() is counting the trailing spaces als...
Gainey asked 20/7, 2009 at 4:20
2
Solved
I have a table in SQL Server. This table has an image field and the application stores files in it.
Is there a way to read the size of the file in the image field using T-SQL?
Knesset asked 4/4, 2012 at 21:21
6
Solved
Does anyone know a good way to count characters in a text (nvarchar) column in Sql Server?
The values there can be text, symbols and/or numbers.
So far I used sum(datalength(column))/2 but this on...
Pneumatograph asked 10/1, 2013 at 10:4
1
Solved
Is there some efficient way how to get length of data in "varbinary(max) filestream" column?
I found only samples with conversion to varchar and then calling the "LEN" function.
Outcry asked 14/4, 2009 at 15:37
4
Solved
What is the difference between len() and datalength() in SQL Server 2005?
Reproof asked 17/2, 2009 at 18:21
1
© 2022 - 2024 — McMap. All rights reserved.