how to resolve -811 sqlcode .give clear explaination

Answers were Sorted based on User's Feedback



how to resolve -811 sqlcode .give clear explaination..

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

how to resolve -811 sqlcode .give clear explaination..

Answer / vas

Use Cursor...

Is This Answer Correct ?    0 Yes 0 No

how to resolve -811 sqlcode .give clear explaination..

Answer / alonso

How use cursor for fix it?
Never see it sorry

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More DB2 Interview Questions

What is image copy in db2?

0 Answers  


Is there any advantage to denormalizing DB2 tables?

1 Answers  


How does DB2 store NULL physically?

2 Answers  


What are host variables in db2?

0 Answers  


pls tell me abt the normalization five types....

2 Answers  






Why use RUNSTAT Utility?

3 Answers   Merrill Lynch,


Compare a subselect to a join?

1 Answers  


what are bind concepts in db2 cobol?

0 Answers  


What are common abends

1 Answers   SPIC, Virtusa,


What is the function of buffer manager?

1 Answers  


Is ibm db2 free?

0 Answers  


What is a PLAN table? How will you use it? Give the various fields of PLAN table?

1 Answers   Accenture,


Categories