> > in my H2 database. What is the syntax for doing this?- Hide quoted text -
>
> - Show quoted text -
java.exe -Xmx512m -classpath "h2.jar" org.h2.tools.RunScript -url
jdbc:h2:mydbname -user sa -script yourscript.sql >output.txt 2>&1
(Assuming h2.jar is in the current working directory)
> > user test_usr -script C:\tmp\ESS.sql > ESS.log- Hide quoted text -
java -classpath "C:\program files\test\Load\lib\h2.jar"
org.h2.tools.RunScript -url jdbc:h2:tcp://localhost:1521/test -user
<username> -password <password> -script "C:\Documents and Settings
\Desktop\ESS.sql" > "C:\Documents and Settings\Desktop\output.txt"
2>&1
> > - Show quoted text -- Hide quoted text -
> Is there a way to get the output from running the sql script?
See http://www.h2database.com/javadoc/org/h2/tools/RunScript.html#main_String...
specially
-showResults
Regards,
Thomas