File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes delete multiple rows from multiple table using single stored procedure Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "delete multiple rows from multiple table using single stored procedure" Watch "delete multiple rows from multiple table using single stored procedure" New topic
Author

delete multiple rows from multiple table using single stored procedure

shyamkumar bopannachengalaiah
Ranch Hand

Joined: Dec 30, 2008
Posts: 100
i have a doubt that is it possible to delete multiple rows from multiple tables with in a single procedure.if yes, can anyone give some idea how to do in a stored procedure in mysql.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Yes its possible. You just need to wrap your various delete statements into a procedue. What have you tried so far?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: delete multiple rows from multiple table using single stored procedure