Passing delimited string to stored procedure to search database
How can i pass a string delimited by space or comma to stored procedure and filter result? I'm trying to do something like - Parameter Value -------------------------- @keywords key1 key2 key3 Then is stored procedure i want to first find all records with first or last name like key1 filter step 1 with first or last name like key2 filter step 2 with first or last name like key 3 Another example: col1 | col2 | col3 ------------------------------------------------------------------------ hello xyz | abc is my last name | and i'm a developer hello xyz | null | and i'm a developer If i search for