Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How to add code to the existing article (using improve article)?

1112


How to transfer a table from one schema to another?

1004


Can You Use Data Mining Models In Ssrs?

145


What are the properties and different types of sub-queries?

1011


Can we write trigger for view?

1016


Will count(column) include columns with null values in its count?

1101


Suppose you want to implement the one-to-one relationships while designing tables. How would you do it?

957


Write an sql query to find first weekday of the month?

921


What are different types of table joins?

1016


How can sql server instances be hidden? : sql server security

1153


What is Command line parameters in PLSQL.?

1133


What is a database table?

976


Is the order of columns in the set clause important in ms sql server?

971


Explain temporary table vs table variable by using cursor alternative?

1001


What is the user of Primary key?

990