How to generate a text file when a record is inserted into the table Or How to use the spool command in the triggers