Sql var that stores the number of lines changed