Another way of using an array for the SQL Where clause Simon Hutchinson

​Earlier I wrote a post about how to take data from an array and use it in a SQL Where clause. The method I described was to concatenate the elements of the array into a string, and then use that in the Where clause.
I did mention I had tried an alternative method moving data from the array into a Table and then using it as a subselect in the Where clause. I have been asked several times how I did that, which is what this post is about. Let me state here that what I am going to describe here is not as efficient as the method I described before, which is what you should use.
This alternative program consists of the main body, and two subprocedures. I am going to start by showing the main body:
Read more » Read More 

Verified by MonsterInsights