BUFFER-CREATE and CAN-WRITE=FALSE

Posted by alextrs on 01-Mar-2017 14:02

Hi,

I need to create a bunch of records in _aud-audit-data table. I have enough privileges and everything works fine if I use static buffer with CREATE statement. If I try to create record using BUFFER-CREATE (or BUFFER-COPY) it fails with error 'Update permission denied (14328)'. This happens because BUFFER-CREATE immediately "creates a record, sets fields to their default values, and moves a copy of the record into the buffer".

Is there any way I can do it or I have to use static buffer with CREATE statement?

Thank you

All Replies

This thread is closed