I can't tell from the information you provided, but it looks like your SELECT could possibly return more than one row. Have you tried running just the SELECT to see what is returned?
↧