bikkaran@in.ibm.com napisal(a):
> Hi ,
>
[quoted text clipped - 11 lines]
> Regards
> Bikash Karan
You can use SELECT .. FROM FINAL|NEW|OLD TABLE (insert/update/delete
stmt)
i.e. SELECT * FROM FINAL(INSERT INTO table1 VALUES('text',2))
For more details:
http://publib.boulder.ibm.com/infocenter/db2luw/v8/index.jsp
References->SQL->Queries->Subselect 'table-reference'
Regards
Adrian
Tonkuma - 09 Feb 2006 09:36 GMT
Please see sqlerrd(3) in SQLCA.
Manual "SQL Reference" wrote "..... After INSERT, UPDATE, DELETE, or
MERGE, contains the actual number of rows that qualified for the
operation. ....."