This is ANSI SQL:2011 compliant. The RESET WHEN clause is a Teradata extension to the ANSI SQL standard.