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.

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top