--最新的模糊查询的方法declare @s nvarchar(50)select @s=BillNo from dbo.T_Receipt where ID='976d57fa-ee94-4a8d-9ce8-d54c694eea14'if(@s like '45%')begin print 'adsfas'end