SetStatement <- 'SET' (StandardAssignment / SetTimeZone) StandardAssignment <- (SetVariable / SetSetting) SetAssignment SetTimeZone <- 'TIME' 'ZONE' Expression SetSetting <- SettingScope? SettingName SetVariable <- VariableScope Identifier VariableScope <- 'VARIABLE' SettingScope <- LocalScope / SessionScope / GlobalScope LocalScope <- 'LOCAL' SessionScope <- 'SESSION' GlobalScope <- 'GLOBAL' SetAssignment <- VariableAssign VariableList VariableAssign <- '=' / 'TO' VariableList <- List(Expression) ResetStatement <- 'RESET' (SetVariable / SetSetting)