how to resolve -811 sqlcode .give clear explaination
Answers were Sorted based on User's Feedback
Answer / sesha
-811 results when
1)Execution of an embedded SELECT statement has resulted in
a result table containing more than one row.
2)Alternatively, a subquery contained in a basic predicate
has produced more than one value.
Solution is:
Examine the syntax of the statement to ensure that it
contains the proper condition specifications. If it does,
there may be a problem with the data that is causing more
than one row or value to be returned when you do not expect
it.
You can use cursor to overcome this problem.
| Is This Answer Correct ? | 6 Yes | 0 No |
if any of the column names is provided wrong, where do you get the error(during precompilation or during Bind)
what is parm utility
I have a subprogram B calling from mainprogram A.I have opened a cursor in A ,Can i fetch the same cursor in subprogram B , If yes , Please explain the reason?
What is reorg?
i want to maintain uniqueness on pdf without make lf??????????
how we will do null data selection in cobol-db2 program
What is cursor stability?
What do you mean by between and in? Is between inclusive of specified range values?
How to resolve -803 sql code in DB2?
How to test SQL -911 error while developing COB-DB2 program
my project is insurance management system,how to explain my work environment in interview?
Hi , I am posting some interview ques . what is the use of cursors ? what is the diff between select and cursor ? bith are used for data retrival .. rite?