Guest_imported
New member
- Jan 1, 1970
- 0
- 0
- 0
We are creating a stored procedure with a select statement and using input parameters. We use this code as follows, the top line of the SP says: Create Procedure SkillSP @Skill varchar(30) and then the WHERE clause states: WHERE SK1Name = @Skill. We would like to take out the = and use a LIKE statement so that we aren't limited to retrieving just exact hits. What is the proper format for using LIKE with an input parameter in a stored procedure that contains a SELECT statement?