Hi,
I am confused on how to use the feature "runscript".

On documentation, it says "runscrip" feature has 
quirks_mode/variable_binary/from_1x options, and these options can import 
scripts made by 1.4.200 into recent version.

Thus, I tried to store scripts into "init_table.sql", and executed: 
runscript from 'classpath:mybatis/sql/init_table.sql' from_1x; On my 
init_table.sql, I used "value" as a column name without putting backticks 
around, and this usage is supported on version 1.4.200, and not working on 
my current version 2.0.206 (because now "value" is a reserved key word). 
Unfortunately, the program still threw me the exception that tells there is 
syntax error / bad grammar. Thus, I am not sure on how to use this 
"runscript" feature.

My goal is not changing any codes that I wrote for 1.4.200, and run the 
scripts on 2.0.206, and I know there are some points that work on older 
version but not work on current one (For example: I have to surroud 
backticks on value for new version while for older version I don't have to).

Please advise, thank you in advance.
Yuqiang

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/h2-database/ce11e981-5cc6-4d50-89b1-2bfe079dddb4n%40googlegroups.com.

Reply via email to