A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
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:
- it saves me about five hours per week
subject: update button
doubt in a mock exam question
Which statement is true regarding initialization parameter
Is Fowarder-receiver promiscuous?
How Multiple Inheritance can be achieved in Java ?
How to ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013