I have a Stored Proc in MySQL that I want to use, in the WHERE clause of the SELECT Statement it will use a choice of 3 parameters
Example
SELECT * FROM MyTable
WHERE (Postcode = @postcode
OR StreetName = @streetname
OR JobNumber = @jobnumber)
I understand that if there was only 1 paramater in the WHERE clause it would be CALL MyStoredProc('thevariable') to Execute the StoredProc, but with it having 3 in a WHERE OR clause how do I Execute it?