Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using LEN on a Text field
Message
From
10/02/2009 12:39:52
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2005
Application:
Web
Miscellaneous
Thread ID:
01380482
Message ID:
01380597
Views:
48
>You can use DATALENGTH() on text columns but it does not ignore trailing spaces.
>
>Why stick with text if switching to varchar(MAX) will make your life much easier? From the developer point of view, the varchar(MAX) works the same as regular varchar.

As soon as I have some time, I will adjust for that.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform