what is difference between excute query ()and execute update
()?
Answer Posted / megala devi
Execute query():it is using for DML(Data definition
language) and DDL (Data Manipulation Language)and mainly its
used for select query
example:String sql="select * from Employee_Details";
st.executequery(sql);
Execute update():it is using for DML(Data definition
language) and DDL (Data Manipulation Language)and mainly its
used for insert query,update query,delete
example:String sql="insert into Employee_Detail........";
st.executeUpdate(sql);
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
In java, what is the difference between method overloading and method overriding?
What is variable length arguments in java?
hi am an engineering student and my next plan is for ms in either in us or australia i got my passport but i dont know anything bout visa can u give brief idea 1)How to get prepared for visa and 2)How to apply for top universities and 3)How to pay the fee and so on These all are basic questions plz give me a clear idea
What is implicit object in java?
What is the difference between a loader and a compiler?
What is a line separator in java?
What is a container in a gui?
Is a class subclass of itself?
Can two objects have same hashcode?
What does math floor () do?
What is ide with example?
Java.util.regex consists of which classes?
Which of the following is not an isolation level in the JDBC
What is the use of :: in java?
what is the use of bean managed and container managed with example?