Blog Archive

Monday, October 25, 2010

Stored Procedure to handle new Files

When a new file is added to the system an entry to be created in AudioFileList table. On
inserting a record to this table it needs to update few other tables also. An insert trigger attached to this
table will do the necessary processing of the data.
  • Update Approx line count to be calculated and updated to AudioFileList table.
  • Insert an entry to TranscriptFileList table. (Set work type -1)
  • Collect transcript Id and and AudioID from both of the above tables and create an entry in
    to AudioTranscriptMap table.

No comments:

Post a Comment