If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
the -811 states that the select statement is returning more than one row. You need to alter your select conditions so that you only get a single row returned.
Dave Nance
If it is used in where clause in another select statement(or cursor), it might be worth to consider to include the scalar-subselect into the select statement(or cursor).