Last Answered:
Mar 13 2008 10:26 AM GMT
by Mrdenny
This would be a stored procedure not a trigger. You can not schedule triggers to run on a schedule. Create a stored procedure with the code needed to calculate the averages and then use the SQL Server Agent to schedule the stored procedure to run nightly.