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

DB2 can implement a join in three ways using a merge join, a nested join or a hybrid join. Explain the differences?

0 Answers  


What can the Locate option of the Repair Utility accomplish?

2 Answers  


Hello All, We have requirment to Replace BMC Db2 Load product thru CA FAST LOADPlus product. Do anyone have JCL to for FAST LOADPLUS and what all are thing need to take in consideration.

0 Answers   IBM,


What is package in cobol db2?

0 Answers  


what is the use of cursors?

3 Answers   iGate,






What are the functions of Bind?

2 Answers   Amdocs, IBM,


what is the difference between declaring the cursor in WS section and Procedure division?

1 Answers   HCL,


How to insert more than one record using insert?

7 Answers   Atos Origin, IBM,


Hi Dude,this is Ram.could any one tell me aboue CURRENT OF clause in DB2. Thanks in advance.......

2 Answers  


Mention data types used in db2 ?

0 Answers  


What is QUIESCE?

2 Answers  


What is the syntax required for the creation of a cursor?

1 Answers  


Categories