SOS-2036 Need to check if database supports case sensitive query, some tablename are created with all lowercase. We will fix hasTable to be case sensitive in a LPS ticket, but I don't want SO release to rely on that. This fix right now is the best way to move forward.