Parse .sql file

Hello I wish to parse a .sql file and execute the queries in it, I have looked up for some solution but could not find one. Any Clue?ThanksWilson
[166 byte] By [wilsonetoa] at [2007-11-27 5:37:39]
# 1
Use Java.io to read the file in a buffer and split the queries on it's delimiter -which is usually the semicolon- and you're there.
BalusCa at 2007-7-12 15:10:02 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 2
Any good to you? http://ant.apache.org/manual/CoreTasks/sql.html
dcmintera at 2007-7-12 15:10:02 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...