Get SQL string length, and the length is determined assignment

To achieve the following effects
Here Insert Picture Description
is determined length of the string, since the mail can not less than five characters in length.
Here Insert Picture Description
Remove the space before use:
DATALENGTH (RTRIM (JC_Staff.Email))

Published 115 original articles · won praise 36 · views 9876

Guess you like

Origin blog.csdn.net/weixin_44548307/article/details/103662697