This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes How to Insert multiple selected values in mysql? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to Insert multiple selected values in mysql?" Watch "How to Insert multiple selected values in mysql?" New topic
Author

How to Insert multiple selected values in mysql?

Karthikeyan Ravindran
Ranch Hand

Joined: Nov 20, 2007
Posts: 32
hi all,

Can anyone tell me how to insert multiple selected values in mysql? can you give me the commnd or give me some reference?

thanks in advance
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

The MySQL site includes sample databases, split into their schema and data parts. The data inserts an entire table using a single select:

http://dev.mysql.com/doc/
(See 'Example databases')
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to Insert multiple selected values in mysql?
 
Similar Threads
How to select multiple values using JCheckbox
How to insert multiple selection from JSP to MySQL
Problem with multiple select
Values from ListBox to be inserted
Multiple Insert Querry.....