帮忙修改一下ms-sql语句啊 strSQL = " select * from tblcpzl where " & strFileName & " like '" * " & " & Me.cxnr & " & " * "'" & _ " order by cpzlid" 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 我是想弄一个模糊查询,所以在Me.cxnr两边想加"*"上去,但不知道怎么加。请求帮助 这个绝对是SQL 语句啊我来简化一下" select * from tblcpzl where " & strFileName & " like '" * " & " & Me.cxnr & " & " * "'" 如果在sql server里执行,要写成下面那样,用%表示模糊的内容不知道你加*是干什么,难道在access里执行" select * from tblcpzl where " & strFileName & " like '%* " & Me.cxnr & "*%'" 下面这个是出现错误的语句:" select * from tblcpzl where 产品名称 like '" * " & " & Me.cxnr & " & " * "'"下面这个是正确的语句,但是没有"*"" select * from tblcpzl where 产品名称 like '" & Me.cxnr & "'"我想建立一个模糊查询,就想到了 like *某某产品* 的形式,请帮忙改一下第一句。 根据xys_777启发,正觉答案是:" select * from tblcpzl where 产品名称 like '*" & Me.cxnr & "*'" money类型为什么不支持负数?…… 请问一个access中的问题。 关于 update 的问题 热乎乎的新手问题,关于某句查询语句的... with as 子查询报错,请来看看是什么问题 请教sql server 2008安装问题!!! 在先等待一读取记录的问题! 表达式列是否影响查询性能 有关view的问题 刚接触SSIS+SSAS+SSRS BI这块,大家有没有step by step的书籍推荐! sql2000 .sql2005在同一台机器上的问题 关于聚集索引选择方案的疑问
" select * from tblcpzl where 产品名称 like '*" & Me.cxnr & "*'"