BS-9422, fix sql dialects