sqlserver查询字符串字节数

SELECT datalength(rtrim('是单个12'))

**********初心不改,方得始终。
原文地址:https://www.cnblogs.com/salv/p/11812630.html