update sql statement tables name to uppercase