I would have thought it had something to do with these lines from the SP:
I tried rearranging everything to be in the right order and still it came back with the same errorCode:SET @PostcodeID = (SELECT PostcodeID FROM ContactPostcode WHERE Postcode = @PostcodeID)




Reply With Quote
