I have a Stored procedure that accepts a comma delimited string of IDs as a parameter
I have a UDF called Split that then splits that and returns it as a Table
In my query I return a value from a view that is another comma delimited string of IDs
In my Where statement I essentially want to say
WHERE dbo.Split(@inputstring) IN dbo.Split(view.ViewString)
And only return rows where a value in my input string exists in my View string
How can I best achieve this?