What error are you getting and what version of liquibase are you using?
Nathan
What error are you getting and what version of liquibase are you using?
Nathan
Hi Steve,
I tried using generateChangeLog but I get a different error now.
D:\Liquibase>java -jar liquibase.jar --changeLogFile=“D:\Liquibase\scripts\demo.txt” --diffTypes=“data” --url=jdbc:sqlserver://sql-ilp-test:1433;tempdb generateChangeLog
Liquibase generateChangeLog Failed: D:\Liquibase\LiquibaseDriverssqljdbc4.jar does not exist
SEVERE 4/28/14 11:07 AM:liquibase: D:\Liquibase\LiquibaseDriverssqljdbc4.jar does not exist
liquibase.exception.CommandLineParsingException: D:\Liquibase\LiquibaseDriverssqljdbc4.jar does not exist
at liquibase.integration.commandline.Main.configureClassLoader(Main.java:668)
at liquibase.integration.commandline.Main.main(Main.java:132)
Below are the steps I have done till now
driver:com.microsoft.sqlserver.jdbc.SQLServerDriver
classpath=“D:\Liquibase\Drivers\sqljdbc4.jar”
url=jdbc:sqlserver://sql-ilp-test:1433;tempdb
username=test
password=test
Question
-------------
Which drive do you use to connect to SQL Database.
In my property file I have passed this url "Brijesh
Thanks for the help guys, it started working. Not is a matter of learning the commands and there usage.
Hi, I am new to liquibase and helping my release team integrated this tool. Has anyone got an end example of liquibase for sql server? Like simple steps to create a table or insert statement ?
Thanks
Do this: run Liquibase generateChangelog on an existing SQL Server database. This will generate examples for you based on your own database. It’s pretty neat!
The cool thing about Liquibase is that it is platform agnostic. So, any examples at liquibase.org should be applicable to SQL Server.
Robert
Hi Robert,
java -jar liquibase.jar
–driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
–classpath=sqljdbc4.jar
–url=jdbc:sqlserver://sql-test:1433;tempdb
–username=test
–password=test
–changeLogFile=D:\scripts\test.xml
i fails
Hi Nathan,
I have created a liquibase.properties file and stored above properties in the same location as the Jar file Brijesh
Hi Nathan,
Am I using the right class file ?
Am I doing the right steps ?
I am using the latest version of the Liquibase.
Thanks again,
Brijesh
It looks like you aren’t giving liquibase a command.
It should be something like this:
No, Oracle client is not a prerequisite for SQL Server.
I think the issue is how you are setting the classpath property. Rather than this:
http://www.datical.com/