关于在存储过程中的模糊查询问题
我在存储过程中这样写alter proc querybyproductname @productname varchar(30)
as
select product.productId as 商品编号, product.productCode as 商品条码, product.productName as 商品名称, product.productStandard as 规格, product.productUnit as 单位, product.productArea as 产地,
productstore.store as 仓库, productstore.number as 数量 from product left join productstore on product.productId=productstore.productID where product.productName like @productname
go
实现不了模糊查询,请问like关键字后面应该怎样写呢?