Hi Any,
You can try with:
SELECT TXN_ID FROM table WHERE STATUS = N;
UPDATE table SET STATUS = 'Y' WHERE STATUS = N;
You have to take into account:
1. Your DB team has to tell you the connection
2. Your DB team has to tell you if you have to set a schema before the table name.
3. You basis team has to install the jdbc drivers.
Regards.