CSPACE-6266: Escape variable in SQL command.