DECLARE @_id int SET @_id = select TOP 1(_id) from tbl_User where _userName like '%'+ @createdBy+'%';
DECLARE @_id int select TOP 1 @_id = _id from tbl_User where _userName like '%'+ @createdBy+'%'; print @_id;
select TOP 1(_id) from tbl_User where _userName like '''%'+ @createdBy+'''%';
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)