CREATE PROCEDURE dbo.searchWords
-- Add the parameters for the stored procedure here
@words as dbo.varchar_array,
@count int = 0
AS
BEGIN
WHILE (@count < varchar_array.count)
BEGIN
select a.article_id from article a where LOWER(a.description) like @words(@count);
set @count = @count + 1;
END
END
GO