Skip to content

Commit 35ee71b

Browse files
authored
Revert "Update len-transact-sql.md"
1 parent 0c1c9c6 commit 35ee71b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/t-sql/functions/len-transact-sql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ SELECT LEN(@v2) AS [nvarchar LEN], DATALENGTH(@v2) AS [nvarchar DATALENGTH];
6060
```
6161

6262
> [!NOTE]
63-
> When using [LEN](../../t-sql/functions/len-transact-sql.md) to return the number of characters encoded for a given string expression or [DATALENGTH](../../t-sql/functions/datalength-transact-sql.md) to return the size in bytes for a given string expression, the outputs may differ depending on the data type and type of encoding used in the column. For more information on storage differences between different encoding types, see [Collation and Unicode Support](../../relational-databases/collations/collation-and-unicode-support.md).
63+
> Use the [LEN](../../t-sql/functions/len-transact-sql.md) to return the number of characters encoded into a given string expression, and [DATALENGTH](../../t-sql/functions/datalength-transact-sql.md) to return the size in bytes for a given string expression. These outputs may differ depending on the data type and type of encoding used in the column. For more information on storage differences between different encoding types, see [Collation and Unicode Support](../../relational-databases/collations/collation-and-unicode-support.md).
6464
6565
## Examples
6666
The following example selects the number of characters and the data in `FirstName` for people located in `Australia`. This example uses the AdventureWorks database.

0 commit comments

Comments
 (0)