LPS-27223 Use standard SQL syntax to escape