What is sqlcode -811?

Answers were Sorted based on User's Feedback



What is sqlcode -811?..

Answer / jdriley

Is the SQLCODE returned when your singleton select
statement returns/retrieves more than one row of data.

Is This Answer Correct ?    68 Yes 7 No

What is sqlcode -811?..

Answer / kshitij

Without the use of cursor fetching two or more rows.

Is This Answer Correct ?    52 Yes 6 No

What is sqlcode -811?..

Answer / rami reddy

If single select returns more than one row then you get
SQLCODE = -811

Is This Answer Correct ?    38 Yes 3 No

What is sqlcode -811?..

Answer / bharani

We get error -811, when 'WHERE' criteria in singleton query
matched with multiple rows of a table, it can only fetch
and process one row at a time. Only way to avoid this error
by using cursor concepts.

Is This Answer Correct ?    29 Yes 1 No

What is sqlcode -811?..

Answer / toms k jose

multiple rows retrieved.

Is This Answer Correct ?    8 Yes 0 No

What is sqlcode -811?..

Answer / bruno

Registro duplicado na tabela DB2

Is This Answer Correct ?    1 Yes 4 No

What is sqlcode -811?..

Answer / marek

The one correct answer is: "Look at DB2 doc." Who remember
all sql error codes?

Is This Answer Correct ?    19 Yes 40 No

Post New Answer

More DB2 Interview Questions

This was related to -811 sqlcode, In a COBOL DB2 program which accesses employee table and selects rows for employee 'A', it should perform a paragraph s001-x if employee 'A' is present. In this case it gets -811 sqlcode, but still it process the paragraph s001-x. What could be wrong in my code.

3 Answers  


what is a plan and how do you refer the plan in the program?

2 Answers   Xansa,


How Plan is created while executing the query using SPUFI?

3 Answers  


how to execute qcmdexc in rpgle?plz write code also?

1 Answers   IBM,


How do I delete a column in db2?

0 Answers  






What is cursor with hold option in db2?

0 Answers  


What is a DB2 catalog?

2 Answers  


what is different three logs in DB2?

1 Answers   Syntel,


is it compulsory commitment control in journal?

0 Answers   TCS,


In a DB2-CICS program which is acts as co-ordinator and which is participant?

1 Answers   IBM,


Define sqlca.

0 Answers  


how will you retrieve first record in table

1 Answers   UST,


Categories