Hi all, I have a file.sql with all the insert commands written in it. Now i want to write jdbc code to simply run the entire file instead of creating multiple insert commands in jdbc and executing them individually. How do i do this. greatly appreciate any help in this regard, Vinay
SCJP 1.4<br />" Somedays ur the dog...other days ur the water hydrant "
Vinay, You are going to have to read this file in your code and "feed" the output to JDBC to run against the DB. I don't see how you can run the file itself. May be you can, I don't know. I like what your signature says