Question

As mentioned in the tilte, I wonder if the sql code provided between the sql tag in Liquibase changeset is independent of the database type.I mean, is it refactored before executed to different DB Type ?

Thanks.

Was it helpful?

Solution

Whatever SQL code you put in is what is executed - Liquibase does not attempt to "translate" SQL from one database dialect to another. If you need custom SQL that works on multiple database platforms, you would need to write multiple custom sql changes and tag each one with the database that it applies to.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top