Dear Friends,
I have one doubt please rectify it,
In Oracle(Rdbms) it is possible to Select more than one row from a table using select query where as in DB2(Rdbms) it throws an error of -811 why?
You can select more than one row in db2 also. But from where u tried to execute the query? In cobol program, u need to user cursor to traverse through the rows. Explain your problem in detail
Joined: 19 Feb 2005 Posts: 142 Location: South Africa
Hi murali,
You can select more than one row in DB2 using SPUFI,
but from the -811 its sure you are trying to retreive more than one row using DB2 - cobol program.
You can acheive it by means of defining a cursor, opening it then fetching it and finally closng it.