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
What does java stand for?
Is class is a data type?
How do you identify independent and dependent variables?
Why char array is preferred over string for storing password?
What is the main use of java?
Write an algorithm for quick sort?
What is a null check?
Can private members of a base class are inheritable justify?
What are the java ide’s?
What is a parameter in a function?
What is the difference between equals() and == in java?
What is the purpose of default constructor?
Where is const variable stored?
What is stringwriter?
Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?