How can I escape chars in Liquibase?

Hey guys

I have an issue with sql server.

I have a changetype sqlfile with a stored procedure and it includes this line SELECT REPLACE(@test, '\', ':')

Liquibase is assuming all what is following the '\ as part of the string and this is failing. Although the procedure works fine on mssql

How could I fix that?

You could try the tag splitStatements:false

Hi @hasanagh, would you please post the output from the:
liquibase updateSQL
command?

This will help us see what liquibase has interpreted the source stored procedure as.

Thanks!

Ronak