View Single Post
Old 30-11-07, 04:05 PM   #2 (permalink)
sk_kireeti
Super Moderator
 
sk_kireeti's Avatar
 
Join Date: Feb 2006
Location: Hyderabad
Posts: 2,355
Thanks: 117
Thanked 255 Times in 206 Posts
Thanks: 117
Thanked 255 Times in 206 Posts
Blog Entries: 4
Rep Power: 53 sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute
Re: JDBC Question.Plese answer it....

I am not knowledgeable in this area. But referring the below link might help you to get answer for 1st question...
Get a load of that name! - Java World


2.
execute() use this to run any DDL statements or SQL statements that don't return any thing. Returns boolean.

executeQuery() - use this to capture and process output of a query. Returns ResultSet

executeUpdate() - use this to execute update SQL statements. Returns the number of rows updated with the current update statement execution. Returns integer.

Thanks,
Krishna
__________________
Give 1 cup rice to a hungry Indian just by a mouse click. No money, no form filling, no hassle... Click here for the donation.
sk_kireeti is offline   Reply With Quote