我使用SQL Server和我有有两个字段如何搜索多个字符串或字符在字段中SQL
- 名称
- 说明
我想选择一个表所有这些行包含下列字符串
( '$', '%', 'AC CD', 'HJD OIH')
我使用它像这样
select Name , description from table_name
where Description like any (' %$%',' %[%]%','%ac cd%' , '%hjd oih%')
现在
它给人错误,当我运行此
Incorrect syntax near the keyword 'any'.
感谢,
请检查类似的问题: –
learningloop
2013-03-21 07:22:04