Create Proc CargarAnuncioPorBusqueda
@searchString varchar(max)
AS
select * from Anuncio where titulo Like '%'+ @searchString + '%'
Say the user writes: “pools”, would this Stored Procedure return everything that has “pools” in the “titulo”?
Thank you. 🙂
Yes. It would return “spools”, “poolside”, “pools”, etc.