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


Please Help Members By Posting Answers For Below Questions

How to view db2 table structure?

587


What do you mean by rollback?

572


What is the role of schema in the db2 database?

649


How to check sequence on a table in db2?

598


What is a bind in db2?

590






What is buffer pool in the db2 database?

612


What is dbrm in db2 database?

584


What types of tables are there in the db2 database?

548


What is the maximum No of rows per page?

626


What are foreign keys in db2?

614


How is the value function used?

600


What language is db2 written in?

595


What is innodb buffer pool?

560


What does a deadlock mean in DB2?

649


What are db2 objects?

637