【发布时间】:2013-02-15 01:07:03
【问题描述】:
我在 SQL Server 中有大字符串。我想将该字符串截断为 10 或 15 个字符
原始字符串
this is test string. this is test string. this is test string. this is test string.
想要的字符串
this is test string. this is ......
【问题讨论】:
-
您的“所需字符串”包含来自“原始字符串”的 28 个字符,不接近您要求的“10 或 15”
标签: sql-server tsql