Having problem with the code below in a web service. Have searched for a solution but nothing that I have seen seems different to what I am doing below.
NB: The
The question in fact had a wrong assumption and that was that there was an error in the code.
The syntax of the SQL query was correct and the parameter was being inserted correctly. However the test data contained errors and therefore no result was being returned by a correctly formatted query.
Thanks all for input.