SQL Server:IsCharAlpha
是否有内置或解决方法技术来确定字符“IsAlpha"?
我看到很多建议都围绕
IF PATINDEX('[a-zA-Z]', @c) > 0
BEGIN
--It is alpha
END
except that 忽略不在给定范围 AZ
内的字母字符。
Is there a built-in, or workaround technique, to determine if a character "IsAlpha"?
i see a lot of suggestions that revolve around
IF PATINDEX('[a-zA-Z]', @c) > 0
BEGIN
--It is alpha
END
Except that neglects alpha characters that are not in the given range A-Z
.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
排序规则控制重音符号和变音符号的评估方式,例如
S
是否等于Š
。请注意以下结果...第一个
SELECT
返回 2 个匹配项,第二个仅返回 1 个匹配项:您可以在此处找到 SQL Server 2008 中的排序规则列表和简要说明。
Collation controls how accents and diacritics are evaluated, such as whether or not
S
equalsŠ
.Note the results for the following... the first
SELECT
returns 2 matches, the second only returns 1 match:You can find a list of collations within SQL Server 2008 and a brief descripition here.