strtoupper type and settype on where() of query