What are the difference between data length and length in
SQL Server-2008?

Answer Posted / sapthagiri

LEN
Returns the number of characters, rather than the number of bytes, of the given string expression, excluding trailing blanks.

DATALENGTH
Returns the number of bytes used to represent any expression.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are there issues when exporting SSRS reports into Microsoft Excel? When my users are trying to export a SSRS report into Microsoft Excel, one or two columns in the report appear to merge together. Why might this be?

161


What are rest-style architecture's?

163


What is tablesample?

766


Does windows server 2016 come with sql server?

677


What is the need for indexing?

665






Tell me about the approaches which you used to counter the DI problems.

992


Are all views updatable ?

892


What stored by the msdb? : sql server database administration

749


What is scheduled job and how to create it?

725


How will you decide the active and passive nodes?

794


What does executeupdate return?

700


What is triggers in ms sql server?

804


How to list all dsn entries on your local machine using odbc_data_source()?

754


How to resolve the orphan use problem? : sql server security

708


Define tempdb database?

753