Hi All;
Does anyone know of (or know how to make) a generic search stored procedure.
I really need a procedure that will allow me to pass it a table name along with a search string. Using the search string the stored procedure will search through any string type columns (varchar, nvarchar, text etc) and return any rows for which a match was found.
I would be SUPER SUPER appreciative if anyone could help me out on this one. I have been searching google high and low, but I haven't managed to find anything yet.
Thank you!
Sean.
Does anyone know of (or know how to make) a generic search stored procedure.
I really need a procedure that will allow me to pass it a table name along with a search string. Using the search string the stored procedure will search through any string type columns (varchar, nvarchar, text etc) and return any rows for which a match was found.
I would be SUPER SUPER appreciative if anyone could help me out on this one. I have been searching google high and low, but I haven't managed to find anything yet.
Thank you!
Sean.