A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCM Java EE 6 Enterprise Architect Exam Guide
this week in the
Joined: Sep 06, 2004
Sep 09, 2004 02:00:00
What is the statement to execute update.
columns = statement.executeUpdate("SELECT * FROM Member");
Joined: Aug 15, 2004
Sep 09, 2004 02:35:00
read the docs. executeUpdate() returns you an int not a
and update means DMLs (insert, update, delete). for select statement we use executeQuery() rather than executeUpdate().
insert, update, delete
i hope it would be clear now.
Joined: Oct 18, 2000
Sep 09, 2004 05:45:00
Since this has nothing to do with JSPs, I'm moving it to the
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I agree. Here's the link:
subject: update button
Is Fowarder-receiver promiscuous?
How Multiple Inheritance can be achieved in Java ?
Which statement is true regarding initialization parameter
How to ?
doubt in a mock exam question
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014