File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
insertRow or SQl query
Joined: Jan 09, 2003
May 26, 2004 02:13:00
is it better to use rs.insertRow through a resultset or by an statement of SQl query through a connection object.
Joined: Mar 18, 2004
May 26, 2004 03:10:00
Its better to use prepared statement to insert the record in database. Its more efficient. I think most of the drivers not support insertRow.
I agree. Here's the link:
subject: insertRow or SQl query
How to Find Out There Are Identical Records Without Using the Select?
Transfer Excel Sheet information to database
Hibernate Query taking long time
auto generated unique Id?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014