最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
如何判断sql字段中存在中文字符?
时间:2022-06-29 08:15:23 编辑:袖梨 来源:一聚教程网
如何判断sql字段中存在中文字符?
| 代码如下 | 复制代码 |
| declare @t table([Name] nvarchar(10)) insert @t select '好的啊!' insert @t select '12345好的' insert @t select '123' insert @t select 'sdff' select * from @t where PATINDEX('%[吖-座]%',[name])>0 /* Name ---------- 好的啊! 12345好的 (所影响的行数为 2 行)*/ | |
相关文章
- 基于Ollama本地搭建OpenClaw私人助手的实现方式步骤实用指南 10-03
- starwave:AI Agent 工具实践指南 10-03
- Paper2Seminar:AI Agent 工具实践指南 10-03
- PromptSkill4image:实践指南 10-03
- pishi-normalno:AI Agent 工具实践指南 10-03
- contract-review:实践指南 10-03