select * from table1 where name = t;
DECLARE @t varchar(15) SET @t = 'xyz' SELECT * FROM table1 WHERE name = @t
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)