Hello,
Help! Does anyone have an example of a trigger that will export a
newly inserted row into a flat file? Basically anytime a row is
inserted into a specific table a flatfile (fixed width) should be
created in a hardcoded directory. I have the export command created
but it doesn't seem to work in a trigger. I am sort of a newb to DB2
(at least its more advanced functions). I have a project going 'live'
and I have no idea on how to do this. I had wanted to put it on the
task scheduler but that got shot down. If anyone has any suggestions
or better yet a sample of code I could modify I would be very
grateful.
Thank You,
Keith
Help! Does anyone have an example of a trigger that will export a
newly inserted row into a flat file? Basically anytime a row is
inserted into a specific table a flatfile (fixed width) should be
created in a hardcoded directory. I have the export command created
but it doesn't seem to work in a trigger. I am sort of a newb to DB2
(at least its more advanced functions). I have a project going 'live'
and I have no idea on how to do this. I had wanted to put it on the
task scheduler but that got shot down. If anyone has any suggestions
or better yet a sample of code I could modify I would be very
grateful.
Thank You,
Keith
Comment