In RDO only, you can use PRINT...RDB$DB_KEY to display the database key of the record about to be stored by the STORE statement. Example: RDO> STORE E IN EMPLOYEES USING cont> E.EMPLOYEE_ID = "15231"; cont> E.LAST_NAME = "Smith"; cont> PRINT E.RDB$DB_KEY cont> END_STORE RDB$DB_KEY 21:339:0