当前位置: 数据库>sqlserver
sql中一条模糊查询的语句
来源: 互联网 发布时间:2014-08-29
本文导语: sql模糊查询: select * from tblUser where userName='' or userName='@userName' userName like '%'+@userName+‘%’
sql模糊查询:
select * from tblUser where userName='' or userName='@userName' userName like '%'+@userName+‘%’
select * from tblUser where userName='' or userName='@userName' userName like '%'+@userName+‘%’