What are the difference between data length and length in
SQL Server-2008?
Answer Posted / rajkumar
If the string has the space before the like
select LEN(' raj')
select dataLENgth(' raj')
Both consider the space.
but space is after the string len is not bother about space it wil be trucated.
datalenth counted with space.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Why it is recommended to avoid referencing a floating point column in the where clause?
how many triggers you can have on a table? : Sql server database administration
When would you use sql joins?
How do I debug a stored procedure in sql server?
Define indexes?
What is database dimension? : sql server analysis services, ssas
whats new about truncate in sql server 2008?
List out the difference between union and union all in sql server?
Can we install sql server 2016 on windows 7?
in a table is b in column k (manikanta,sivananda,muralidhar) i want result like (mnikanta,sivnanda,murlidhar) please slove it
How can you list all the columns in a database?
Can a table have 2 foreign keys?
How to write a query with a full outer join in ms sql server?
What is read uncmmited?
What are the advantages of user defined function?