This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Hi, i guess ".sql" file you are talking contains set of sql statements. Hence you can write the stored procedure in the back end and execute the same using java. -arun
Sharing is learning
Joined: Dec 12, 2001
Hi I am using Mysql. So stored procedures might not be possible. One way i found out is, I need the command mysql --execute="c:/test.sql" to be execute. I put this in a batch file, and ran the batch file using Runtime class. Reagrds Amit Lonkar