On some code written by someone else and a stored procedure written by yet another person, I am getting run-time error -2147467259 that says "Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression."
<code removed per request http:Q_21903646.html
If I run the SP in Query Analyzer, it returns one row with two columns (each column header says "(no column name)", not sure if that matters):
0 | NULL