Modify SQL cmd from lowercase to uppercase