how to resolve -811 sqlcode .give clear explaination
Answer Posted / 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 |
Post New Answer View All Answers
What is load utility in db2?
How to take backup of table in db2?
On which levels locks can be applied?
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 the role of data manager in the db2 database?
What is sqlca?
What is explain in db2?
What is scrollable cursor in db2?
What's The Error Code For Unique Index Voilation?
What is the information associated with sysibm.syslinks table?
How do you find the maximum value in a column in db2?
Name the lockable units in DB2?
Is db2 relational database?
Mention a credible reason why select* is never given preference in an sql program that has been embedded.
What are the various data types available in db2?