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 are the different types of base tables?
What is db2 instance?
What are the bind parameters ibm db2?
Highlight all the advantages that are attached to a package.
What is the connection string to connect to the DB2 Database ?
How to take backup of table in db2?
How does db2 sample database connect?
What is db2 plan table?
Discuss about db2 bind?
How will you return the number of records in table?
Outputs of explain are with matchcols = 0. What does this signify?
How do we specify index to include or not during bind process.
Which component is responsible for db2 startup and shutdown?
What are the rules for db2 programming?
What is the maximum size of a char data type in db2?