Example:

One of the "select into" statements is returning more than one result.
Example:
You can limit the Query.

One of the "select into" statements is returning more than one result.
Example:
SELECT @NetBalance + TH.ClosingBalance INTO @NetBalance
FROM TransactionHead;
Answer:You can limit the Query.
SELECT @NetBalance + TH.ClosingBalance INTO @NetBalance
FROM TransactionHead Limit 1;
Problem solved...
0 Comments