我有一个表名产品包含3列:
@H_301_2@Product-id
name
Price
示例:1340 GPS,1340T GPS等
当我写作
@H_301_2@select top 10 * from product where contains(name,'1340');结果1行1340 GPS
但是当我搜索
@H_301_2@select top 10 * from product where name like '%1340%';然后结果是1340 GPS和1340T GPS.
实际上我的要求是我将使用contains()但它必须显示像LIKE运算符这样的行.
怎么做:?
请帮忙
提前致谢