declare @name nvarchar(50);
declare @name_pin nvarchar(50);
set @name_pin = ‘%‘[email protected] ‘%‘
模糊查询:
select @name = name from [DataBase] where name like @name_pin
declare @name nvarchar(50);
declare @name_pin nvarchar(50);
set @name_pin = ‘%‘[email protected] ‘%‘
模糊查询:
select @name = name from [DataBase] where name like @name_pin