Sql trigger difference between for and after