Reputation: 3059
I am executing an update statement through SQLJ:
#sql [connCtx] {
UPDATE
MYTABLE
SET
MYCOLUMN = null
WHERE
MYCOLUMN IS NOT NULL
};
Is there a way to retrieve the number of affected rows?
Upvotes: 0
Views: 416
Reputation: 12523
without having your java code I think that is the correct way:
System.out.println(exec_context.getUpdateCount( ));
Upvotes: 1