A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Arduino in Action
this week in the
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
How to insert record into multiple table uesing preparedStatement (one time i want to insert record)
Joined: Aug 10, 2009
Aug 25, 2009 23:30:26
In general at a time i am able insert record in a table ...But i dont have idea to insert record in multiple table at one time ...
Any one help me with coading ...if you can
Thanks to all
Joined: Oct 23, 2005
Aug 25, 2009 23:34:46
Start a transaction, use multiple prepared statements, then commit the transaction.
Down Home Country Coding with Scott Selikoff
I agree. Here's the link:
- it saves me about five hours per week
subject: How to insert record into multiple table uesing preparedStatement (one time i want to insert record)
Inserting multiple record into a database
How Do I Insert records in multiple tables thru 1 SQL Query
Is it possible or not?
How to rollback multiple prepared statements
A question about transaction and CRUD operations.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013