A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
JDBC and Relational Databases
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?
auto generated unique Id?
Transfer Excel Sheet information to database
Hibernate Query taking long time
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015