Hello all, I am making use of a parameter in JSP that has multiple values(say 3 different values). I want to store all the values of that parameter in the DataBase under a single column.How can i do that..?If you know,please let me know.. Regards Pandurang
But by Christian Baron's code u'll be trying to execute multiple insert statements. Create a delimiter separated string with all the values u want to insert and then call an insert statement. [ April 03, 2003: Message edited by: Rajeshwari Natarajan ]
If you are going to use the SQL statement many times but with different values you should really use a PreparedStatement rather than a statement. It is a lot faster as the DB doesn't need to re-parse the SQL statement. Example shown below:
Andy Bowes<br />SCJP, SCWCD<br />I like deadlines, I love the whoosing noise they make as they go flying past - Douglas Adams